Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Technochips (talk | contribs) category avoids using {{{title}}}? |
||
| Line 84: | Line 84: | ||
{{#if: {{{nocategory|{{NAMESPACE}}}}}|| | {{#if: {{{nocategory|{{NAMESPACE}}}}}|| | ||
[[Category:Classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | [[Category:Classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
[[Category: | [[Category:{{PAGENAME}}{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
{{#switch: | {{#switch: {{PAGENAME}} | ||
| Civilian = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | | Civilian = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Mercenary = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | | Mercenary = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
Revision as of 12:36, 29 January 2026
| 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 |