Jump to content

Template:ItemType: Difference between revisions

From Deadlock Wiki
m Removed bold from text
Sur (talk | contribs)
m span fixed
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
|Weapon = <span tyle="white-space:nowrap;"><span style="position:relative; bottom:2px;">[[File:Weapon Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}]]</span></span> [[Weapon Item|{{#invoke:Dictionary|translate|Weapon Item}}]] {{{2|}}}
|Weapon = <span style="position:relative; bottom:2px; white-space:nowrap;">[[File:Weapon Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}]]</span> [[Weapon Item|{{#invoke:Dictionary|translate|Weapon Item}}]]{{{2|}}}
|Armor = <span tyle="white-space:nowrap;"><span style="position:relative; bottom:2px;">[[File:Vitality Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}]]</span></span> [[Vitality Item|{{#invoke:Dictionary|translate|Armor Item}}]] {{{2|}}}
|Armor = <span style="position:relative; bottom:2px; white-space:nowrap;">[[File:Vitality Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}]]</span> [[Vitality Item|{{#invoke:Dictionary|translate|Armor Item}}]]{{{2|}}}
|Tech = <span tyle="white-space:nowrap;"><span style="position:relative; bottom:2px;">[[File:Spirit icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}]]</span></span> [[Spirit Item|{{#invoke:Dictionary|translate|Tech Item}}]] {{{2|}}}
|Tech = <span style="position:relative; bottom:2px; white-space:nowrap;">[[File:Spirit icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}]]</span> [[Spirit Item|{{#invoke:Dictionary|translate|Tech Item}}]]{{{2|}}}
}}</includeonly>
}}</includeonly><noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Icon templates]]
[[Category:Icon templates]]
</noinclude>
</noinclude>

Latest revision as of 00:36, 28 February 2025

Template documentation [view] [edit] [history] [purge]

Usage[edit source]

{{ItemType|<Type>|<Additional Text>}}
{{ItemType|Tech}}

Spirit Item

{{ItemType|Armor}}

Vitality Item

{{ItemType|Weapon}}

Weapon Item

{{ItemType|Weapon|size=40px}}

Weapon Item

{{ItemType|Weapon|{{ItemIcon|Rapid Rounds}}}}

Weapon Item Rapid Rounds

Parameters[edit source]

p1
Item type (required).
p2
Custom text (optional).
size
Custom icon size (optional).