Template:ItemIcon: Difference between revisions
Jump to navigation
Jump to search
m p2 as custom text |
fix link to concept instead of item |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span style="position: relative; bottom: 2px; filter: brightness(0) saturate(100%);">[[File:{{{1|}}}.png|link={{{1|}}}|{{{size|20px}}}]]</span> [[{{{2|{{{1|}}}}}}]]</includeonly><noinclude>{{Documentation}} | <includeonly><span style="white-space:nowrap;"><span style="position:relative; bottom:2px; filter:brightness(0) saturate(100%);">[[File:{{{icon|{{{1|}}}}}}.png|link={{#switch:{{{1|}}} | ||
|Bullet Lifesteal = Bullet Lifesteal (item) | |||
|Spirit Lifesteal = Spirit Lifesteal (item) | |||
|{{{1|}}} | |||
}}|{{{size|20px}}}]]</span> [[{{#switch:{{{1|}}} | |||
|Bullet Lifesteal = Bullet Lifesteal (item) | |||
|Spirit Lifesteal = Spirit Lifesteal (item) | |||
|{{{1|}}} | |||
}}|{{{2|{{{1|}}}}}}]]</span></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 07:22, 30 October 2024
Usage[edit source]
This icon template is used to create a small picture associated with an item.
Examples[edit source]
{{ItemIcon|Basic Magazine}}
{{ItemIcon|Basic Magazine|Custom}}
Parameters[edit source]
- p1
- Item name (required).
- p2
- Custom name (optional).
- size
- Size (optional). Default is 20px.
- icon
- Custom icon (optional)