Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) (replaced tab with switcher template) |
Technochips (talk | contribs) mNo edit summary |
||
Line 20: | Line 20: | ||
{{!}}- | {{!}}- | ||
{{!}} Icon {{!!}} [[File:{{{class|}}}.png]] | {{!}} Icon {{!!}} [[File:{{{class|}}}.png]] | ||
}}{{#if: {{{type|}}} | | }} | ||
{{#if: {{{type|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} Type {{!!}} [[Classes#{{{type|}}}|{{{type|}}}]]}}{{#if: {{{health|}}} | | {{!}} Type {{!!}} [[Classes#{{{type|}}}|{{{type|}}}]]}} | ||
{{#if: {{{health|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} Health {{!!}} {{{health|}}} {{#if: {{{overhealed|}}} | ({{{overhealed|}}} with overheal)}} | {{!}} Health {{!!}} {{{health|}}} {{#if: {{{overhealed|}}} | ({{{overhealed|}}} with overheal)}} | ||
}}{{#if: {{{speed|}}} | | }} | ||
{{#if: {{{speed|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}} Speed {{!!}} {{{speed|}}}% | {{!}} Speed {{!!}} {{{speed|}}}% | ||
Line 73: | Line 76: | ||
</templatedata> | </templatedata> | ||
[[Category:Infobox]] | [[Category:Infobox]] | ||
</noinclude> | </noinclude> |
Revision as of 14:12, 25 May 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 |