Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) m removed newline? |
VivaRomania (talk | contribs) mNo edit summary |
||
| Line 36: | Line 36: | ||
}} | }} | ||
|}{{#if: {{{nocategory|{{NAMESPACE}}}}}|| | |}{{#if: {{{nocategory|{{NAMESPACE}}}}}|| | ||
[[Category:Classes]] | [[Category:Classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
[[Category:{{{title|{{PAGENAME}}}}}]] | [[Category:{{{title|{{PAGENAME}}}}}{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
{{#if: {{{type|}}} | [[Category:{{{type}}} classes]]}} | {{#if: {{{type|}}} | [[Category:{{{type}}} classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]]}} | ||
{{#switch: {{{title|{{PAGENAME}}}}} | {{#switch: {{{title|{{PAGENAME}}}}} | ||
| Civilian = [[Category:Special classes]] | | Civilian = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Mercenary = [[Category:Special classes]] | | Mercenary = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Henchman = [[Category:Special classes]] | | Henchman = [[Category:Special classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Scout = [[Category:Regular classes]] | | Scout = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Soldier = [[Category:Regular classes]] | | Soldier = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Pyro = [[Category:Regular classes]] | | Pyro = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Demoman = [[Category:Regular classes]] | | Demoman = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Heavy = [[Category:Regular classes]] | | Heavy = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Engineer = [[Category:Regular classes]] | | Engineer = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Medic = [[Category:Regular classes]] | | Medic = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Sniper = [[Category:Regular classes]] | | Sniper = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}}]] | ||
| Spy = [[Category:Regular classes]] | | Spy = [[Category:Regular classes{{#ifeq:{{PAGELANGUAGE}}|en||/{{PAGELANGUAGE}}}} ]] | ||
}}}}</includeonly> | }}}}</includeonly> | ||
<noinclude> <templatedata> | <noinclude> <templatedata> | ||
Revision as of 06:11, 9 May 2025
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 |