Difference between revisions of "Template:I"
From Nookipedia, the Animal Crossing wiki
(Adding text parameter to allow for custom text display) |
AlexBot2004 (talk | contribs) (Adding category for uses of this template without the game parameter specified) |
||
Line 1: | Line 1: | ||
− | [[Item:{{{1}}} ({{{2|New Horizons}}})|{{{text|{{{1}}}}}}]]<noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude> | + | [[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> |
Revision as of 20:50, February 9, 2021
[[Item:{{{1}}} (New Horizons)|{{{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{{#if:New Horizons||
The second parameter can be abbreviated for easier linking.
{{I|ironwood dresser|NH}}
→ ironwood dresser{{#if:NH||
The optional third parameter can be used to show custom text rather than the official item name.
{{I|ironwood dresser|New Horizons|dresser}}
→ ironwood dresser{{#if:New Horizons||