Difference between revisions of "Template:I"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (adding third parameter in preparation for the removal of the parameter for the optional text option) |
PanchamBro (talk | contribs) |
||
Line 1: | Line 1: | ||
− | [[Item:{{{1}}} ({{#switch:{{{2}}}|NH=New Horizons|PC=Pocket Camp|HHD=Happy Home Designer|NL=New Leaf|CF=City Folk|WW=Wild World|DnMe+=Doubutsu no Mori e+|PG=Animal Crossing|DnM+=Doubutsu no Mori+|DnM=Doubutsu no Mori|#default={{{2}}}}})|{{{3|{{{text|{{{1}}}}}}}}}]]<noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude> | + | [[Item:{{{1}}} ({{#switch:{{{2}}}|NH=New Horizons|PC=Pocket Camp|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|{{{text|{{{1}}}}}}}}}]]<includeonly>{{#if:{{{text|}}}|[[Category:Pages using the text parameter in Template:I]]}}</includeonly><noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude> |
Revision as of 07:21, November 2, 2022
[[Item:{{{1}}} ({{{2}}})|{{{1}}}]]
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.
{{I|ironwood dresser|New Horizons}}
→ ironwood dresser
The second parameter can be abbreviated for easier linking.
{{I|ironwood dresser|NH}}
→ ironwood dresser
The optional third parameter can be used to show custom text rather than the official item name.
{{I|ironwood dresser|New Horizons|dresser}}
→ dresser