Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
TeamSpecBot (talk | contribs) Template: infobox class |
TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes |
||
| Line 1: | Line 1: | ||
<includeonly>{| style="float:right;clear:right;width:300px;margin:0 0 12px 16px | <includeonly>{| class="ts-infobox" style="float:right;clear:right;width:300px;margin:0 0 12px 16px;font-size:90%;border-collapse:collapse;" | ||
|- | |- | ||
! colspan="2" style=" | ! class="ts-infobox-title" colspan="2" style="padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{health|}}}| | {{#if:{{{health|}}}| | ||
{{!}}- | {{!}}- | ||
Latest revision as of 08:01, 20 October 2026
The box at the top right of every class page.
Usage
{{Infobox class
| name = Trooper
| health = 250
| speed = 6.5 m/s
| pick = 3
| power = 4
| support = 3
| primary = [[Pulse Rifle]]
}}
Parameters
name: the title. Defaults to the page name.health: healthspeed: speedregen: regenerationpick: pickpower: powersupport: supportprimary: primarysecondary: secondarymelee: meleeaccessory: accessory
Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for #if.