Ad placeholder

Template:SmItemIcon: Difference between revisions

Jump to navigation Jump to search
Adding 'alias' as used on RarityItem, for preferable layout for items without rarity.
No edit summary
(Adding 'alias' as used on RarityItem, for preferable layout for items without rarity.)
Line 1: Line 1:
<includeonly><onlyinclude>{{ItemIcon|name={{{1}}}|size=25|show_name=true}}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{ItemIcon|name={{{1}}}|size=25|show_name=true|alias={{{alias|}}}}}</onlyinclude></includeonly><noinclude>
Shorthand for <code><nowiki>{{ItemIcon|name=ITEM_NAME|size=25|show_name=true}}</nowiki></code>. See also [[Template:ItemIcon]].
Shorthand for <code><nowiki>{{ItemIcon|name=ITEM_NAME|size=25|show_name=true}}</nowiki></code>. See also [[Template:ItemIcon]].


See example: <code><nowiki>{{SmItemIcon|Potion of Healing}}</nowiki></code> {{SmItemIcon|Potion of Healing}}
See example: <code><nowiki>{{SmItemIcon|Potion of Healing}}</nowiki></code> {{SmItemIcon|Potion of Healing}}
</noinclude>
</noinclude>

Navigation menu