Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
Ratboy Slim (talk | contribs) (Changed to 320px) |
m (Testing something. May return it when done testing.) |
||
(One intermediate revision by one other user not shown) | |||
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 |