Template:ItemType: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#switch: {{{1}}} |Weapon = <span style="position:relative; bottom:2px; white-space:nowrap;">[[File:Weapon Icon.png|{{{size|25px}}}|link=Weapon Items{{If_lang}}]]</span> [[Weapon Items{{If_lang}}|<span {{#if:{{{color|}}}| style="color:#9E6203;"}}>{{{2|{{#invoke:Lang|get_string|CitadelCategoryWeapon}}}}}</span>]] {{#if:{{{2|}}}| |[[Item{{If_lang}}|{{#invoke:Dictionary|translate|Item}}]]}} |Armor = <span style="position:relative; bottom:2px; white-space:nowrap;">[[File:Vitality Icon.png|{{{size|25px}}}|link=Vitality Items{{If_lang}}]]</span> [[Vitality Items{{If_lang}}|<span {{#if:{{{color|}}}| style="color:#7CB125;"}}>{{{2|{{#invoke:Lang|get_string|CitadelCategoryArmor}}}}}</span>]] {{#if:{{{2|}}}| |[[Item{{If_lang}}|{{#invoke:Dictionary|translate|Item}}]]}} |Tech = <span style="position:relative; bottom:2px; white-space:nowrap;">[[File:Spirit icon.png|{{{size|25px}}}|link=Spirit Items{{If_lang}}]]</span> [[Spirit Items{{If_lang}}|<span {{#if:{{{color|}}}| style="color:#E1A0FF;"}}>{{{2|{{#invoke:Lang|get_string|CitadelCategoryTech}}}}}</span>]] {{#if:{{{2|}}}| |[[Item{{If_lang}}|{{#invoke:Dictionary|translate|Item}}]]}} }}</includeonly><noinclude> {{Documentation}} [[Category:Icon templates]] </noinclude> | ||
{{#switch: {{{1}}} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
{{Documentation}} | |||
[[Category:Icon templates]] | |||
</noinclude> | |||
Latest revision as of 18:42, 2 March 2026
Usage
[edit source]{{ItemType|<Type>|<Additional Text>}}
{{ItemType|Tech}}
{{ItemType|Armor}}
{{ItemType|Weapon}}
{{ItemType|Weapon|color=true}}
{{ItemType|Weapon|size=40px}}
{{ItemType|Weapon|This Item}}
Parameters
[edit source]- p1
- Item type (required).
- p2
- Custom text (optional).
- color
- Makes text colored (optional).
- size
- Custom icon size (optional).