Template:Infobox class: Difference between revisions
Template page
More actions
Technochips (talk | contribs) removing align=right; this should be automatic with the class |
Technochips (talk | contribs) replaced tab with switcher template |
||
| Line 6: | Line 6: | ||
{{!}}- | {{!}}- | ||
{{!}} class="infobox-image" colspan="2" {{!}} | {{!}} class="infobox-image" colspan="2" {{!}} | ||
{{Switcher | |||
| | |[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.png|center|frameless|180px]] | ||
| | |RED | ||
| | |[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} BLU.png|center|frameless|180px]] | ||
|BLU | |||
}} | |[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} GRN.png|center|frameless|180px]] | ||
|GRN | |||
|[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} YLW.png|center|frameless|180px]] | |||
|YLW}}}} | |||
|+ | |+ | ||
! colspan="2" | Basic Information | ! colspan="2" | Basic Information | ||
| Line 17: | Line 20: | ||
{{!}}- | {{!}}- | ||
{{!}} Icon {{!!}} [[File:{{{class|}}}.png]] | {{!}} Icon {{!!}} [[File:{{{class|}}}.png]] | ||
}} | }}{{#if: {{{type|}}} | | ||
{{#if: {{{type|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} Type {{!!}} [[Classes#{{{type|}}}|{{{type|}}}]] | {{!}} Type {{!!}} [[Classes#{{{type|}}}|{{{type|}}}]]}}{{#if: {{{health|}}} | | ||
}} | |||
{{#if: {{{health|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} Health {{!!}} {{{health|}}} {{#if: {{{overhealed|}}} | ({{{overhealed|}}} with overheal)}} | {{!}} Health {{!!}} {{{health|}}} {{#if: {{{overhealed|}}} | ({{{overhealed|}}} with overheal)}} | ||
}} | }}{{#if: {{{speed|}}} | | ||
{{#if: {{{speed|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} Speed {{!!}} {{{speed|}}}% | {{!}} Speed {{!!}} {{{speed|}}}% | ||
| Line 74: | Line 73: | ||
</templatedata> | </templatedata> | ||
[[Category:Infobox]] | [[Category:Infobox]] | ||
{{infobox_class|image=Civilian}} | |||
</noinclude> | </noinclude> | ||