Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item icon/doc

Template page
< Template:Item icon
Revision as of 09:41, 9 September 2023 by Sky (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This template fetches and displays an icon for an item. The information is uploaded using the standard item descriptions. Use Template:ItemIcon Insert to add a page that doesn't use Template:MiscItemPage, Template:EquipmentPage, or Template:WeaponPage.

Usage:
{{ItemIcon
|name=the name of the icon page
|size=(optional) the size of the icon
|show_name=(optional) Whether to show the name. Any value will show the name of the item as a link. Omit to hide it.
|show_rarity=(optional) Whether to add a border and background to the icon according to the item's rarity. Omit to not show it.
}}

Templates

Copy-ready template (no item name): {{ItemIcon|name=}}

Copy-ready template (with item name): {{ItemIcon|name=|show_name=true}}

Examples

ResultNameSizeShow name?Rarity?Code
Icon only

Potion of Healing

40 false false {{ItemIcon|name=Potion of Healing|size=40|show_name=false|show_rarity=false}}

Potion of Healing

25 false false {{ItemIcon|name=Potion of Healing|size=25|show_name=false|show_rarity=false}}

Potion of Supreme Healing

40 false false {{ItemIcon|name=Potion of Supreme Healing|size=40|show_name=false|show_rarity=false}}

Potion of Supreme Healing

25 false false {{ItemIcon|name=Potion of Supreme Healing|size=25|show_name=false|show_rarity=false}}

File:The Red Knight's Final Stratagem Unfaded Icon.pngThe Red Knight's Final Stratagem

40 false false {{ItemIcon|name=The Red Knight's Final Stratagem|size=40|show_name=false|show_rarity=false}}

File:The Red Knight's Final Stratagem Unfaded Icon.pngThe Red Knight's Final Stratagem

25 false false {{ItemIcon|name=The Red Knight's Final Stratagem|size=25|show_name=false|show_rarity=false}}
Linked icon

Potion of Healing

40 true false {{ItemIcon|name=Potion of Healing|size=40|show_name=true|show_rarity=false}}

Potion of Healing

25 true false {{ItemIcon|name=Potion of Healing|size=25|show_name=true|show_rarity=false}}

Potion of Supreme Healing

40 true false {{ItemIcon|name=Potion of Supreme Healing|size=40|show_name=true|show_rarity=false}}

Potion of Supreme Healing

25 true false {{ItemIcon|name=Potion of Supreme Healing|size=25|show_name=true|show_rarity=false}}

File:The Red Knight's Final Stratagem Unfaded Icon.pngThe Red Knight's Final Stratagem

40 true false {{ItemIcon|name=The Red Knight's Final Stratagem|size=40|show_name=true|show_rarity=false}}

File:The Red Knight's Final Stratagem Unfaded Icon.pngThe Red Knight's Final Stratagem

25 true false {{ItemIcon|name=The Red Knight's Final Stratagem|size=25|show_name=true|show_rarity=false}}
Rarity icon

Potion of Healing

40 true true {{ItemIcon|name=Potion of Healing|size=40|show_name=true|show_rarity=true}}

Potion of Healing

25 true true {{ItemIcon|name=Potion of Healing|size=25|show_name=true|show_rarity=true}}

Potion of Supreme Healing

40 true true {{ItemIcon|name=Potion of Supreme Healing|size=40|show_name=true|show_rarity=true}}

Potion of Supreme Healing

25 true true {{ItemIcon|name=Potion of Supreme Healing|size=25|show_name=true|show_rarity=true}}

File:The Red Knight's Final Stratagem Unfaded Icon.pngThe Red Knight's Final Stratagem

40 true true {{ItemIcon|name=The Red Knight's Final Stratagem|size=40|show_name=true|show_rarity=true}}

File:The Red Knight's Final Stratagem Unfaded Icon.pngThe Red Knight's Final Stratagem

25 true true {{ItemIcon|name=The Red Knight's Final Stratagem|size=25|show_name=true|show_rarity=true}}