Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
VivaRomania (talk | contribs) mNo edit summary |
VivaRomania (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox" width=320px | {| class="infobox" width=320px | ||
|+ | |+ | ||
| Line 35: | Line 34: | ||
| en = Type | | en = Type | ||
| fr = Type | | fr = Type | ||
}} {{!!}} {{{type}}} | }} {{!!}} {{ #switch: {{{type}}} | ||
| Offensive = {{Lang | |||
| en = [[Classes#Offense|Offensive]] | |||
| fr = [[Classes/fr#Attaque|Offensif]] | |||
}} | |||
| Defensive = {{Lang | |||
| en = [[Classes#Defense|Defensive]] | |||
| fr = [[Classes/fr#Défense|Défensif]] | |||
}} | |||
| Support = {{Lang | |||
| en = [[Classes#Support|Support]] | |||
| fr = [[Classes/fr#Support|Support]] | |||
}} | |||
| Special = {{Lang | |||
| en = [[Classes#Special|Special]] | |||
| fr = [[Classes/fr#Spécial|Spécial]] | |||
}} | |||
}} | |||
}} | }} | ||
{{#if: {{{health|}}} | | {{#if: {{{health|}}} | | ||
| Line 55: | Line 71: | ||
}} | }} | ||
|} | |} | ||
<includeonly> | |||
{{#if: {{{nocategory|{{NAMESPACE}}}}}|| | {{#if: {{{nocategory|{{NAMESPACE}}}}}|| | ||
[[Category:Classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | [[Category:Classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
Revision as of 18:05, 26 June 2025
| Infobox class | |
|---|---|
| Basic Information
|
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 |
| nocategory | nocategory | Disables categories. | Boolean | optional |