Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) m (optimization attempt?) |
m (Testing something. May return it when done testing.) |
||
(2 intermediate revisions by one other user not shown) | |||
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|256px]] | ||
|RED | |RED | ||
|[[File:{{{image|{{PAGENAME}}}}} BLU.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} BLU.png|center|frameless|256px]] | ||
|BLU | |BLU | ||
|[[File:{{{image|{{PAGENAME}}}}} GRN.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} GRN.png|center|frameless|256px]] | ||
|GRN | |GRN | ||
|[[File:{{{image|{{PAGENAME}}}}} YLW.png|center|frameless| | |[[File:{{{image|{{PAGENAME}}}}} YLW.png|center|frameless|256px]] | ||
|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|256px]]}}}} | ||
|+ | |+ | ||
! colspan="2" | Basic Information | ! colspan="2" | Basic Information | ||
Line 37: | Line 37: | ||
|} | |} | ||
[[Category:{{{title|{{PAGENAME}}}}}]] | [[Category:{{{title|{{PAGENAME}}}}}]] | ||
{{#if: {{{type|}}} | [[Category:{{{type|}}} classes]]}} </includeonly> | {{#if: {{{type|}}} | [[Category:{{{type|}}} classes]]}} </includeonly> | ||
<noinclude> <templatedata> | <noinclude> <templatedata> |
Latest revision as of 00:27, 27 June 2024
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 |