Difference between revisions of "Template:Class Nav"
m (Increased width.) |
(Tag: Undo) |
||
(16 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Navbox with columns | + | <includeonly>__NOEDITSECTION__</includeonly>{{Navbox with columns |
| state = {{{state|uncollapsed}}} | | state = {{{state|uncollapsed}}} | ||
| name = Class_Nav | | name = Class_Nav | ||
| colstyle = text-align: center; font-weight: bold; font-size: 100%; | | colstyle = text-align: center; font-weight: bold; font-size: 100%; | ||
− | | title = [[Classes{{if lang}}|{{ | + | | colwidth = 33.333333333% |
− | + | | title = [[Classes{{if lang}}|{{class name|classes}}]] | |
− | + | | col1header = [[Offensive{{if lang}}|{{common string|offensive}}]] | |
− | + | | col2header = [[Defensive{{if lang}}|{{common string|defensive}}]] | |
− | + | | col3header = [[Support{{if lang}}|{{common string|support}}]]<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | col1header = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | col2header = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | col3header = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// Class names for this template are stored in the separate template {{Class name}}: | // Class names for this template are stored in the separate template {{Class name}}: | ||
Line 126: | Line 13: | ||
--> | --> | ||
− | | col1 = | + | | col1 = |
− | + | {{{!}} align="center" cellpadding=0 cellspacing=0 | |
− | + | {{!}}{{Icon class|class=scout}} | |
− | + | {{!}}{{Icon class|class=soldier}} | |
− | + | {{!}}{{Icon class|class=pyro}} | |
− | + | {{!}}- | |
− | + | {{!}}[[Scout{{if lang}}|{{class name|Scout}}]]{{md}} | |
− | + | {{!}}[[Soldier{{if lang}}|{{class name|Soldier}}]]{{md}} | |
− | + | {{!}}[[Pyro{{if lang}}|{{class name|Pyro}}]] | |
− | + | {{!}}} <!-- | |
− | + | --> | |
− | + | | col2 = | |
− | + | {{{!}} align="center" cellpadding=0 cellspacing=0 | |
− | + | {{!}}{{Icon class|class=demoman}} | |
− | + | {{!}}{{Icon class|class=heavy}} | |
− | + | {{!}}{{Icon class|class=engineer}} | |
− | + | {{!}}- | |
− | + | {{!}}[[Demoman{{if lang}}|{{class name|Demoman}}]]{{md}} | |
− | + | {{!}}[[Heavy{{if lang}}|{{class name|Heavy}}]]{{md}} | |
− | + | {{!}}[[Engineer{{if lang}}|{{class name|Engineer}}]] | |
− | + | {{!}}} <!-- | |
− | + | --> | |
− | + | | col3 = | |
− | + | {{{!}} align="center" cellpadding=0 cellspacing=0 | |
− | + | {{!}}{{Icon class|class=medic}} | |
− | + | {{!}}{{Icon class|class=sniper}} | |
− | + | {{!}}{{Icon class|class=spy}} | |
− | + | {{!}}- | |
− | + | {{!}}[[Medic{{if lang}}|{{class name|Medic}}]]{{md}} | |
− | + | {{!}}[[Sniper{{if lang}}|{{class name|Sniper}}]]{{md}} | |
− | + | {{!}}[[Spy{{if lang}}|{{class name|Spy}}]] | |
− | + | {{!}}} <!-- | |
− | + | --> | |
− | |||
− | |||
− | |||
− | |||
}}<includeonly>{{lang cat|Classes}}</includeonly><noinclude> | }}<includeonly>{{lang cat|Classes}}</includeonly><noinclude> | ||
− | {{translation switching|ar, cs, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}} | + | {{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}} |
[[Category:Navigational templates|Class Nav]] | [[Category:Navigational templates|Class Nav]] | ||
</noinclude> | </noinclude> |
Latest revision as of 09:39, 10 June 2023
|
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Class Nav/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant (add) |