Jump to content

Template:ItemType: Difference between revisions

From Deadlock Wiki
Finally fixed newline
m Removed bold from text
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> <b>[[Weapon Item|{{#invoke:Dictionary|translate|Weapon Item}}]]</b> {{{2|}}}
|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|}}}
|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> <b>[[Vitality Item|{{#invoke:Dictionary|translate|Armor Item}}]]</b> {{{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|}}}
|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> <b>[[Spirit Item|{{#invoke:Dictionary|translate|Tech Item}}]]</b> {{{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|}}}
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>

Revision as of 23:35, 27 February 2025


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

Usage

{{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

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