Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
(Experimental - Importing infobox from https://tf2c.fandom.com/wiki/Template:Infobox_class, originally by Technochips) |
(Might as well migrate from PNG to WebP to make life easier, since Fandom serves WebP by default) |
||
Line 2: | Line 2: | ||
|+ | |+ | ||
! colspan="2" | {{#if: {{{title|}}} | {{{title|}}} | {{PAGENAME}}}} | ! colspan="2" | {{#if: {{{title|}}} | {{{title|}}} | {{PAGENAME}}}} | ||
{{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED. | {{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.webp | | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} | {{!}} colspan="2" {{!}} | ||
<tabber>RED=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED. | <tabber>RED=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.webp|center|frameless]] | ||
|-|BLU=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} BLU. | |-|BLU=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} BLU.webp|center|frameless]] | ||
|-|GRN=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} GRN. | |-|GRN=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} GRN.webp|center|frameless]] | ||
|-|YLW=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} YLW. | |-|YLW=[[File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} YLW.webp|center|frameless]] | ||
</tabber> | </tabber> | ||
}} | }} |
Revision as of 09:06, 12 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 }}