Template talk:ItemX

Data templates bypassing ItemX
If you had to bypass ItemX due to expansion depth limits please comment here:

NOTE: Essentially anything listed in this redlink is affected: Category:Pages where expansion depth is exceeded. However, for some of these page, the visual result is still fine.

Expansion Depth Fixes

 * Template:ItemX/20th Century Pistol/0
 * Template:ItemX/Admiral's Uniform/0
 * Template:ItemX/Ancient Revolver/0
 * Template:ItemX/Andorian Commando Uniform/0
 * Template:ItemX/Andorian Pistol/1
 * Template:ItemX/Bajoran Phaser/1
 * Template:ItemX/Biological Sample Kit/0
 * Template:ItemX/Brain Circuitry Pattern/0
 * Template:ItemX/Cardassian Monitor/0
 * Template:ItemX/Central Command Uniform/1
 * Template:ItemX/Civilian Command Clothing/0
 * Template:ItemX/Civilian Diplomatic Clothing/0
 * Template:ItemX/Civilian Diplomatic Dress/0
 * Template:ItemX/Civilian Disguise/0
 * Template:ItemX/Civilian Engineer Clothing/0
 * Template:ItemX/Civilian_Security_Clothing/0
 * Template:ItemX/Coffee Substitute/0
 * Template:ItemX/Communicator (ENT)/1
 * Template:ItemX/Diplomatic Dress Uniform (VOY)/0
 * Template:ItemX/Diplomatic Protocol/0
 * Template:ItemX/Dueling Gauntlet/0
 * Template:ItemX/EM Pistol/1
 * Template:ItemX/Engineering Jacket (DS9)/0
 * Template:ItemX/Engineering Lesson/0
 * Template:ItemX/Engineering Suit (TMP)/0
 * Template:ItemX/Exo-Linguistic Text/0
 * Template:ItemX/Garak's Armor/0
 * Template:ItemX/Hockey Jersey/0
 * Template:ItemX/Hockey Skates/0
 * Template:ItemX/Holo-imager/0
 * Template:ItemX/Hyperspanner (DS9)/1
 * Template:ItemX/Jem'Hadar Armor/0
 * Template:ItemX/Klingon Armor (TOS)/0
 * Template:ItemX/Klingon Hypospray/0
 * Template:ItemX/Klingon PADD/0
 * Template:ItemX/Klingonese Dictionary/0
 * Template:ItemX/Leola Root/0
 * Template:ItemX/Medical Lesson/0
 * Template:ItemX/Neural Processor/0
 * Template:ItemX/Obsidian Order Clearance/0
 * Template:ItemX/Optronic Data Core/1
 * Template:ItemX/Orchids/1
 * Template:ItemX/Phaser Type 2 (TOS)/1
 * Template:ItemX/Poetry/0
 * Template:ItemX/Psychology Text/0
 * Template:ItemX/Quantum Chronometer/1
 * Template:ItemX/Recipe Book/0
 * Template:ItemX/Romulan Diplomacy Uniform/0
 * Template:ItemX/Saurian Brandy/0
 * Template:ItemX/Science Lesson/0
 * Template:ItemX/Section 31 Encryption Algorithm/0
 * Template:ItemX/Security Reports/1
 * Template:ItemX/Single Pot Whiskey/1
 * Template:ItemX/Slug-o-Cola/0
 * Template:ItemX/Social Lesson/1
 * Template:ItemX/Starfleet Command Uniform (TNG)/0
 * Template:ItemX/Starfleet Command Uniform (VOY)/0
 * Template:ItemX/Starfleet Command Uniform (WORF)/0
 * Template:ItemX/Starfleet Medicine Uniform (DS9)/0
 * Template:ItemX/Starfleet Medicine Uniform (TNG)/0
 * Template:ItemX/Starfleet Medicine Uniform (TOS)/0
 * Template:ItemX/Starfleet Medicine Uniform (VOY)/0
 * Template:ItemX/Strategema/0
 * Template:ItemX/Submicron Scanner/1
 * Template:ItemX/Suliban Pistol/0
 * Template:ItemX/Tequila/1
 * Template:ItemX/Terran Empire Command Uniform/1
 * Template:ItemX/Terran Sash/1
 * Template:ItemX/Toolbox/0
 * Template:ItemX/Tricorder Mark VII/1
 * Template:ItemX/Trident Scanner/1
 * Template:ItemX/Tuxedo/0
 * Template:ItemX/Will of the Prophets Text/0
 * Template:ItemX/Xindi Armor/0
 * Template:ItemX/Xindi Pistol/0

Expansion Depth Bypasses

 * Template:ItemX/Arachnia's Gown/5 - Linked directly to Arachnia's Gown without expanding
 * Template:ItemX/Bashir's Disguise/5 - Linked directly to Bashir's Disguise without expanding
 * Template:ItemX/Claiborne's Revolver/5 - Linked directly to Claiborne's Revolver without expanding
 * Template:ItemX/Danara Pel's Dress/5 - Linked directly to Danara Pel's Dress without expanding
 * Template:ItemX/Dolim's Armor/5 - Linked directly to Dolim's Armor without expanding
 * Template:ItemX/Dolim's Pistol/5 - Linked directly to Dolim's Pistol without expanding
 * Template:ItemX/Geordi's Watch/5 - Linked directly to Geordi's Watch without expanding
 * Template:ItemX/Karr's Rifle/5 - Linked directly to Karr's Rifle without expanding
 * Template:ItemX/Karr's Uniform/4 - Linked directly to Sainte Claire 1944 without expanding
 * Template:ItemX/Karr's Uniform/5 - Linked directly to Karr's Uniform without expanding
 * Template:ItemX/Kim's_Jacket/5 - Linked directly to Kim's Jacket without expanding
 * Template:ItemX/Kira's Padd/4 - Linked directly to Kira's Padd without expanding
 * Template:ItemX/K'Ehleyr's Armor/5 (K'Ehleyr's Armor) - Linked directly to Klingon Stole without expanding
 * Template:ItemX/Koloth's Outfit/5 - Linked directly to Koloth's Outfit AND Klingon Disruptor Pistol without expanding
 * Template:ItemX/Mayweather's_Flight_Helmet/3 - Linked directly to WWII Flight Helmet and 20th_Century_Pistol without expanding
 * Template:ItemX/Mayweather's_Flight_Helmet/5 - Linked directly to Mayweather's Flight Helmet without expanding
 * Template:ItemX/McCoy's Scrubs/4 - Linked directly to McCoy's Scrubs without expanding
 * Template:ItemX/McCoy's Scrubs/5 - Linked directly to McCoy's Scrubs without expanding
 * Template:ItemX/Osmotic Eel/5 - Linked directly to Osmotic Eel without expanding
 * Template:ItemX/Riker's Uniform/5 - Linked directly to Riker's Uniform without expanding
 * Template:ItemX/Spock's Suit/4 - Linked directly to Spock's Suit without expanding
 * Template:ItemX/Spock's Suit/5 - Linked directly to Spock's Suit without expanding
 * Template:ItemX/Tuvix's Uniform/5 - Linked directly to Tuvix's Uniform without expanding

Request
Template:ItemX/WWII_Flight_Helmet/3 is another one that's going to take some work. It's template already reaches the limit, and there are at least two levels of items above it. I understand the approach to subst: the lowest level items, but this would require at least two levels of subst: on mulitple pages for RAF Miles O'Brien's gear (both O'Brien's Flight Jacket and O'Brien's Flight Helmet). Should we continue subst: or use Crunch's approach of not expanding if the rest of the recipe is on the page? I know that would likely break the "count everything" script. Silverstorm (talk) 12:38, 2 September 2016 (CDT)
 * I experienced the same issue with Mayweather's Flight Helmet, which also builds out of the 3* WWII Flight Helmet. I wasn't able to resolve it, but I found a slightly better-looking workaround, which I also applied to O'Brien's Flight Helmet, that makes it work better when other items build into it. SleepingDragon (talk) 23:15, 5 September 2016 (CDT)
 * I like that approach. Looks clean, very straightforward to see what needs to be done.  I suggest we use that approach with the top-end items that have components on the same page, but not when one would need to leave the page (unless it's forced by expansion depth already). Silverstorm (talk) 16:21, 29 September 2016 (CDT)

Info Icon
Your icon and the [e] sit on top of each other, making it difficult to see ither of them. Eeb3 (talk) 16:35, 6 June 2016 (CDT)
 * Can you take a screenshot an upload? Also, the top icon was intentionally hidden behind the [edit recipe] link because it seemed redundant since one would be viewing that item's page.CodeHydro (talk) 17:39, 6 June 2016 (CDT)
 * @Eeb3: nevermind about the screenshot; I see you're probably viewing this in mobile view... hmm the collapse/expand doesn't seem to work in mobile...CodeHydro (talk) 17:41, 6 June 2016 (CDT)
 * Acutually, it's not mobile view, (I've been indirectly accused of not being mobile friendly a few times) it occurs in on a desktop. IconIssueTemp.png Eeb3 (talk) 17:49, 6 June 2016 (CDT)
 * @Eeb3: Thanks for the screenshot! It was actually quite helpful... well assuming what I did fixed the issue... look better? CodeHydro (talk) 10:23, 7 June 2016 (CDT)
 * Yeah, they are no longer overlapping each other.Eeb3 (talk) 11:20, 7 June 2016 (CDT)

Putting ItemX Templates Into Another Category
I was doing some updating of the Items Gallery with changes and additions to the icons and went to look at Category:Items which now shows over 1,000 items. Come to find out, the ItemX templates are listing themselves in the Items AND Equipment categories. Is there a way they can be put in their own category such as calling it "ItemX" so they don't skew the count for the Items and Equipment categories? Jello (talk) 15:05, 26 June 2016 (CDT)


 * It seems that's because the item's page itself is included in each ItemX template subpage under the line &lt;!-- Just for previewing. Do not edit below. --&gt; That -at first sight questionable- functionality seems to come from Template:ItemX/preload . --Tygra Dax (talk) 18:56, 26 June 2016 (CDT)
 * It must be from the transclusion of the item page in the the "preview". There are 3 solutions:
 * 1) Get rid of the preview (undesireable; it's actually makes adding data a lot easier and helps warn when recipes use disambiguation pages)
 * 2) Put  tags around categories of every item page (also undesirable as that is a lot of tedious work... unless I am allowed bot access, in which I can run a script to edit all item pages in about 12 minutes... it would take a little time to write the regex pattern, but I'm good at that and I certainly did not manually modify a single entry in Template:DropFrom...)
 * 3) Install Scribunto and I can make the preview remove categories automatically on transclusion. It would also allow me to eliminate the Expand Limit problem in McCoy's Scrubs
 * — CodeHydro (msg) 21:44, 26 June 2016 (CDT)

Expansion Depth Fix Step 1
While I was converting Data's Tricorder to ItemPage template, it triggered the Expansion Depth error (40&rarr;41). Well, I went to do the step one of the process to Template:ItemX/Poetry/0, and wanted to see if would actually help, and so I removed the "preview" section to compare only the { {ItemX}} portion, and noticed that whether the 4th parameter is there, or not, The Expansion Depth is the same in preview mode: 8. Only Preprocessor Counts are affected. This would suggest that calls to blank pages are not counted as a expansion and Step 1 seems relatively unnecessary then to do. (unless its a necessary precursor for Step 2). =/\= Eeb3 (talk) =/\= 00:26, 30 July 2016 (CDT)