20,583
edits
Changes
Added documentation for new template.
== Description ==
:This template is a modified version of [[Template:Item]] which displays the item icon, a link to the item, '''AND''' adds a Loot category to the page.
:If you only want to display an item's icon and name, use [[Template:Item]].
:If you only want to display an item's icon, or use a larger image of the icon, use the [[Template:Item_icon|Item icon]] template.
:If you need the icon for an ability, use the template for [[Template:Ability_icon|Ability icon]].
== Syntax ==
:Type <kbd>{{|Loot|Item name}}</kbd> or <kbd>{{|Loot|Icon|Item name}}</kbd> where you want the item icon and link to display.
== Parameters ==
; Icon
: OPTIONAL name of icon to use if different than item name.
; Item name
: The correct capitalized name of the item.
== Samples ==
See documentation for [[Template:Item]].
<includeonly>
<!-- Categories/interwikis for the template itself -->
[[Category:Formatting templates|Item]]
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>
:This template is a modified version of [[Template:Item]] which displays the item icon, a link to the item, '''AND''' adds a Loot category to the page.
:If you only want to display an item's icon and name, use [[Template:Item]].
:If you only want to display an item's icon, or use a larger image of the icon, use the [[Template:Item_icon|Item icon]] template.
:If you need the icon for an ability, use the template for [[Template:Ability_icon|Ability icon]].
== Syntax ==
:Type <kbd>{{|Loot|Item name}}</kbd> or <kbd>{{|Loot|Icon|Item name}}</kbd> where you want the item icon and link to display.
== Parameters ==
; Icon
: OPTIONAL name of icon to use if different than item name.
; Item name
: The correct capitalized name of the item.
== Samples ==
See documentation for [[Template:Item]].
<includeonly>
<!-- Categories/interwikis for the template itself -->
[[Category:Formatting templates|Item]]
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>