Difference between revisions of "Template:I/doc"
From Nookipedia, the Animal Crossing wiki
(Adding documentation for text parameter) |
PanchamBro (talk | contribs) (→Usage: updating docs) |
||
Line 2: | Line 2: | ||
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 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. | ||
*<code><nowiki>{{I|Ironwood Dresser|New Horizons}}</nowiki></code> → {{I|Ironwood Dresser|New Horizons}} | *<code><nowiki>{{I|Ironwood Dresser|New Horizons}}</nowiki></code> → {{I|Ironwood Dresser|New Horizons}} | ||
+ | |||
+ | The second parameter can be abbreviated for easier linking. | ||
+ | *<code><nowiki>{{I|Ironwood Dresser|NH}}</nowiki></code> → {{I|Ironwood Dresser|NH}} | ||
The optional <code>text</code> parameter can be used to show custom text rather than the official item name. | The optional <code>text</code> parameter can be used to show custom text rather than the official item name. | ||
*<code><nowiki>{{I|Ironwood Dresser|New Horizons|text=dresser}}</nowiki></code> → {{I|Ironwood Dresser|New Horizons|text=dresser}} | *<code><nowiki>{{I|Ironwood Dresser|New Horizons|text=dresser}}</nowiki></code> → {{I|Ironwood Dresser|New Horizons|text=dresser}} |
Revision as of 06:36, August 26, 2021
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 text
parameter can be used to show custom text rather than the official item name.
{{I|Ironwood Dresser|New Horizons|text=dresser}}
→ Ironwood Dresser