Template:ItemType: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| Weapon = <span style="white-space:nowrap;">[[File:Weapon Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}]] <b>[[Weapon Item|{{#invoke:Dictionary|translate|Weapon Item}}]]</b> {{{2|}}} | | Weapon = <span style="white-space:nowrap;">[[File:Weapon Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}]]</span> <b>[[Weapon Item|{{#invoke:Dictionary|translate|Weapon Item}}]]</b> {{{2|}}} | ||
| Armor = <span style="white-space:nowrap;">[[File:Vitality Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}]] <b>[[Vitality Item|{{#invoke:Dictionary|translate|Armor Item}}]]</b> {{{2|}}} | | Armor = <span style="white-space:nowrap;">[[File:Vitality Icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}]]</span> <b>[[Vitality Item|{{#invoke:Dictionary|translate|Armor Item}}]]</b> {{{2|}}} | ||
| Tech = <span style="white-space:nowrap;">[[File:Spirit icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}]] <b>[[Spirit Item|{{#invoke:Dictionary|translate|Tech Item}}]]</b> {{{2|}}} | | Tech = <span style="white-space:nowrap;">[[File:Spirit icon.png|{{{size|25px}}}|link={{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}]]</span> <b>[[Spirit Item|{{#invoke:Dictionary|translate|Tech Item}}]]</b> {{{2|}}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 23:08, 27 February 2025
Usage
{{ItemType|<Type>|<Additional Text>}}
{{ItemType|Tech}}
{{ItemType|Armor}}
{{ItemType|Weapon}}
{{ItemType|Weapon|size=40px}}
{{ItemType|Weapon|{{ItemIcon|Rapid Rounds}}}}
Parameters
- p1
- Item type (required).
- p2
- Custom text (optional).
- size
- Custom icon size (optional).