Difference between revisions of "Template:I/doc"

From Nookipedia, the Animal Crossing wiki
(Created page with "==Usage== *A quick way to link to an item. **<code><nowiki>{{I|Ironwood Dresser}}</nowiki></code> → {{I|Ironwood Dresser}} *Can also specify the game to link to: (Default:...")
 
(→‎Usage: updating docs)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Usage==
 
==Usage==
*A quick way to link to an item.
+
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}}</nowiki></code> → {{I|Ironwood Dresser}}
+
*<code><nowiki>{{I|Ironwood Dresser|New Horizons}}</nowiki></code> → {{I|Ironwood Dresser|New Horizons}}
  
*Can also specify the game to link to: (Default: ''New Horizons'')
+
The second parameter can be abbreviated for easier linking.
**<code><nowiki>{{I|Ironwood Dresser|New Horizons}}</nowiki></code> → {{I|Ironwood Dresser|New Horizons}}
+
*<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.
 +
*<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.

The second parameter can be abbreviated for easier linking.

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