Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) mNo edit summary |
Technochips (talk | contribs) m (category) |
||
Line 2: | Line 2: | ||
{| class="infobox" width=200px | {| class="infobox" width=200px | ||
|+ | |+ | ||
! class="infobox-title" colspan="2" | ! class="infobox-title" colspan="2" | {{{title|PAGENAME}}}}} | ||
{{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.png | | {{#ifexist: File:{{#if: {{{image|}}}|{{{image|}}}|{{PAGENAME}}}} RED.png | | ||
{{!}}- | {{!}}- | ||
Line 36: | Line 36: | ||
}} | }} | ||
|} | |} | ||
[[Category:{{{title|{{PAGENAME}}}}}]] | |||
[[Category:Classes]] | [[Category:Classes]] | ||
{{#if: {{{type|}}} | [[Category:{{{type|}}} classes]]}} </includeonly> | {{#if: {{{type|}}} | [[Category:{{{type|}}} classes]]}} </includeonly> |
Revision as of 16:45, 28 July 2022
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 |