Difference between revisions of "Template:I/doc"

From Nookipedia, the Animal Crossing wiki
(→‎Usage: Requiring game; this is good long-term as we will have item pages for all games)
(Adding documentation for text parameter)
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 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}}

Revision as of 13:50, January 30, 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.

The optional text parameter can be used to show custom text rather than the official item name.