Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) m (optimization attempt?) |
Ratboy Slim (talk | contribs) (Changed to 320px) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" width= | {| class="infobox" width=320px | ||
|+ | |+ | ||
! class="infobox-title" colspan="2" | {{{title|{{PAGENAME}}}}} | ! class="infobox-title" colspan="2" | {{{title|{{PAGENAME}}}}} | ||
Line 7: | Line 7: | ||
{{!}} class="infobox-image" colspan="2" {{!}} | {{!}} class="infobox-image" colspan="2" {{!}} | ||
{{Switcher | {{Switcher | ||
|[[File:{{{image|{{PAGENAME}}}}} RED.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} RED.png|center|frameless|290px]] | ||
|RED | |RED | ||
|[[File:{{{image|{{PAGENAME}}}}} BLU.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} BLU.png|center|frameless|290px]] | ||
|BLU | |BLU | ||
|[[File:{{{image|{{PAGENAME}}}}} GRN.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} GRN.png|center|frameless|290px]] | ||
|GRN | |GRN | ||
|[[File:{{{image|{{PAGENAME}}}}} YLW.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} YLW.png|center|frameless|290px]] | ||
|YLW}}|{{#ifexist: File:{{{image|{{PAGENAME}}}}}.png | | |YLW}}|{{#ifexist: File:{{{image|{{PAGENAME}}}}}.png | | ||
{{!}}- | {{!}}- | ||
{{!}} class="infobox-image" colspan="2" {{!}} | {{!}} class="infobox-image" colspan="2" {{!}} | ||
[[File:{{{image|{{PAGENAME}}}}}.png|center|frameless| | [[File:{{{image|{{PAGENAME}}}}}.png|center|frameless|290px]]}}}} | ||
|+ | |+ | ||
! colspan="2" | Basic Information | ! colspan="2" | Basic Information |
Revision as of 01:38, 3 September 2023
Infobox for class pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Name of the class. (only use when it doesn't match page name) | String | optional |
image | image | Prefix for the images of the class. (only use when it doesn't match page name) | File | optional |
class | class | Icon of the class. | File | suggested |
type | type | Type of the class. | String | suggested |
health | health | Health of the class. | Number | suggested |
overhealed | overhealed | Health of the class, when overhealed. | Number | suggested |
speed | speed | Speed of the class. | Number | suggested |