Difference between revisions of "Template:I"

From Nookipedia, the Animal Crossing wiki
(implementing CapitalizationCheck)
(applying only for the mainspace, files, and Item pages)
(One intermediate revision by the same user not shown)
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|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|}}}}}}]]{{#invoke:CapitalizationCheck|main|{{{1|}}}|{{{2|}}}|yes}}<includeonly>{{#invoke:CapitalizationCheck|main|{{{1|ranch bed}}}|{{{2|NH}}}}}</includeonly><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|{{{1|}}}}}}]]<includeonly>{{#switch:{{NAMESPACENUMBER}}|0|6|708={{#invoke:CapitalizationCheck|main|{{{1|}}}|{{{2|}}}}}}}</includeonly><noinclude>
 
<br>{{Documentation}}[[Category:Link templates]]</noinclude>
 
<br>{{Documentation}}[[Category:Link templates]]</noinclude>

Revision as of 00:25, November 27, 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