Difference between revisions of "Template:I"

From Nookipedia, the Animal Crossing wiki
(Adding category for uses of this template without the game parameter specified)
m
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Item:{{{1}}} ({{{2|New Horizons}}})|{{{text|{{{1}}}}}}]]<includeonly>{{#if:{{{2|}}}||[[Category:Pages using Template:I without a game parameter specified]]</includeonly><noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude>
+
[[Item:{{{1}}} ({{#switch:{{{2}}}|NH=New Horizons|PC=Pocket Camp|NLWa=Welcome amiibo|HHD=Happy Home Designer|NL=New Leaf|CF=City Folk|WW=Wild World|iQue=Dòngwù Sēnlín|DnMe+=Doubutsu no Mori e+|PG=Animal Crossing|DnM+=Doubutsu no Mori+|DnM=Doubutsu no Mori|#default={{{2}}}}})|{{{3|{{{1|}}}}}}]]<includeonly>{{#switch:{{NAMESPACENUMBER}}|0|6|708={{#invoke:CapitalizationCheck|main|{{{1|}}}|{{{2|}}}}}}}</includeonly><noinclude>
 +
<br>{{Documentation}}[[Category:Link templates]]</noinclude>

Latest revision as of 18:16, December 24, 2022

[[Item:{{{1}}} ({{{2}}})|]]


Template documentation (view)


Usage

The first parameter is the name of the item; the second parameter is the name of the game, as it appears in parentheses in the item page title.

The second parameter can be abbreviated for easier linking.

The optional third parameter can be used to show custom text rather than the official item name.

  • {{I|ironwood dresser|New Horizons|dresser}}dresser