(Push icon mechanism change) |
(Move docs) |
||
Line 1: | Line 1: | ||
+ | '''See [[Template talk:Item|the talk page]] for documentation.''' |
||
− | Produces a link to a specific item, pulling information from that item's own wiki page, with or without the item's icon. |
||
− | |||
− | |||
− | '''Usage:''' {{t|item|Item Page Name|Display Name}} + |icon= if desired (just an empty flag to signify you want to display the icon) |
||
− | |||
− | |||
− | |||
− | |||
− | Test Vectors: |
||
− | * <code><nowiki>{{item|Knight-Captain's Silk Legguards|icon=}}</nowiki></code>: {{item|Knight-Captain's Silk Legguards|icon=}} |
||
− | * <code><nowiki>{{item|Runic Leather Headband|Runic Leather Headbands}}</nowiki></code>: {{item|Runic Leather Headband|Runic Leather Headbands}} |
||
<includeonly><onlyinclude>{{:{{{1|}}}|mode={{#ifeq:{{{icon|-}}}|-||im}}link|arg={{{2|}}}}}</onlyinclude></includeonly> |
<includeonly><onlyinclude>{{:{{{1|}}}|mode={{#ifeq:{{{icon|-}}}|-||im}}link|arg={{{2|}}}}}</onlyinclude></includeonly> |
Revision as of 13:52, 6 January 2008
See the talk page for documentation.