Template:ItemIcon: Difference between revisions

Added auto localization of the item name
disabled icons
Line 1: Line 1:
<includeonly><span style="white-space:nowrap;"><span style="position:relative; filter: brightness(100); bottom:2px;">[[File:{{{icon|{{{1|}}}}}}.png|link={{#switch:{{{1|}}}
<includeonly>[[{{#switch:{{{1|}}}
|Bullet Lifesteal = Bullet Lifesteal (item)
|Bullet Lifesteal = Bullet Lifesteal (item)
|Spirit Lifesteal = Spirit Lifesteal (item)
|Spirit Lifesteal = Spirit Lifesteal (item)
|{{{1|}}}
|{{{1|}}}
}}{{If_lang}}|{{{size|20px}}}]]</span> [[{{#switch:{{{1|}}}
}}{{If_lang}}|{{{2|{{#invoke:Lang|get_string|{{#invoke:ItemData/name|get_item_key|{{{1|}}}}}}}}}}]]</includeonly><noinclude>{{Documentation}}</noinclude>
|Bullet Lifesteal = Bullet Lifesteal (item)
|Spirit Lifesteal = Spirit Lifesteal (item)
|{{{1|}}}
}}{{If_lang}}|{{{2|{{#invoke:Lang|get_string|{{#invoke:ItemData/name|get_item_key|{{{1|}}}}}}}}}}]]</span></includeonly><noinclude>{{Documentation}}</noinclude>