Difference between revisions of "Template:I"

From Nookipedia, the Animal Crossing wiki
m
(adding abbreviation switcher)
Line 1: Line 1:
[[Item:{{{1}}} ({{{2}}})|{{{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|DnMe+=Doubutsu no Mori e+|PG=Animal Crossing|DnM+=Doubutsu no Mori+|DnM=Doubutsu no Mori|#default={{{2}}}}})|{{{text|{{{1}}}}}}]]<includeonly>{{#if:{{{2|}}}||[[Category:Pages using Template:I without a game parameter specified]]}}</includeonly><noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude>

Revision as of 06:35, August 26, 2021

[[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.

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.