6,366
editsMore actions
More around desc a bit. Space between icon and text
m (mention ItemIcon Insert) |
(More around desc a bit. Space between icon and text) |
||
Line 9: | Line 9: | ||
|format=template | |format=template | ||
|template=ItemIcon Internal | |template=ItemIcon Internal | ||
}}{{#if:{{{show_name|}}}|[[{{{name}}}]] }}</onlyinclude></includeonly><noinclude> | }} {{#if:{{{show_name|}}}|[[{{{name}}}]] }}</onlyinclude></includeonly><noinclude> | ||
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]]. | |||
This template fetches an icon for an item | |||
Usage: <pre>{{ItemIcon | Usage: <pre>{{ItemIcon | ||
Line 41: | Line 34: | ||
<code><nowiki>{{ItemIcon|name=The Red Knight's Final Stratagem}} (testing that pages with ' work)</nowiki></code> {{ItemIcon|name=The Red Knight's Final Stratagem}} | <code><nowiki>{{ItemIcon|name=The Red Knight's Final Stratagem}} (testing that pages with ' work)</nowiki></code> {{ItemIcon|name=The Red Knight's Final Stratagem}} | ||
<!-- Cargo table definition --> | |||
{{#cargo_declare: | |||
_table = item_icon | |||
|name = String | |||
|icon = File | |||
}} | |||
</noinclude> | </noinclude> |