Changes

Jump to: navigation, search

Template:Item/doc

498 bytes added, 15:00, 20 April 2017
no edit summary
== Parameters ==
; Icon
: OPTIONAL name of icon to use if different than item name.
; Item name
: The correct capitalized name of the item.
== Sample output ==
;Basic usage:{| class="wikitable"
| Code
| {{=}}
| ⇒
| {{Item|Saltpeter}}
|}
;Complex example
:Use alternate icon and link with alternate text. Note usage of {{tlc|pipe}} to distinguish from normal template arguments:
:{| class="wikitable"
| Code
| {{=}}
| Output
|-
| {{tlc|Item|<nowiki>Icon=Beginner's Arrow|Archery{{pipe}}Learn Archery</nowiki>}}
| &rArr;
| {{Item|Icon=Beginner's Arrow|Archery{{pipe}}Learn Archery}}
|}
== Note Notes ==: * Uses the new [[Template:Item icon]] template.* WHY? To support enhancements in {{tlc|Vendor item row}} template.
<includeonly>
<!-- Categories/interwikis for the template itself -->
724
edits

Navigation menu