Template:Infobox class: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
m (Technochips moved page Template:ClassInfobox to Template:Infobox class without leaving a redirect: proper name)
(made picture smaller, use png)
Line 2: Line 2:
|+
|+
! colspan="2" | {{#if: {{{title|}}} | {{{title|}}} | {{PAGENAME}}}}
! colspan="2" | {{#if: {{{title|}}} | {{{title|}}} | {{PAGENAME}}}}
{{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.webp |
{{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.png |
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}}
{{!}} colspan="2" {{!}}
<tabber>RED=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.webp|center|frameless]]
<tabber>RED=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.png|center|frameless|180px]]
|-|BLU=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} BLU.webp|center|frameless]]
|-|BLU=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} BLU.png|center|frameless|180px]]
|-|GRN=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} GRN.webp|center|frameless]]
|-|GRN=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} GRN.png|center|frameless|180px]]
|-|YLW=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} YLW.webp|center|frameless]]
|-|YLW=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} YLW.png|center|frameless|180px]]
</tabber>
</tabber>
}}
}}
Line 15: Line 15:
{{#if: {{{class|}}} |
{{#if: {{{class|}}} |
{{!}}-
{{!}}-
{{!}} Icon {{!!}} [[File:{{{class|}}}.webp]]
{{!}} Icon {{!!}} [[File:{{{class|}}}.png]]
}}
}}
{{#if: {{{type|}}} |
{{#if: {{{type|}}} |

Revision as of 13:04, 14 April 2022

Infobox class
Basic Information



Example usage:

{{Infobox class
| title=Scout
| image=Scout
| class=Leaderboard_class_scout
| type=Offensive
| health=125
| overhealed=125
| speed=133
}}