Template:ClassTabs

Template page
Revision as of 18:46, 22 May 2011 by DoktorAkcel (talk | contribs) (Created page with "<includeonly>{{Tabs | title = {{{title}}} | name = {{{name}}} | collapsed = {{{collapsed|}}} | orientation = {{{orientation|vertical}}} | {{#if:{{{selected|}}}|selected|null...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for ClassTabs

Wrapper for {{Tabs}} with class-specific tabs.

Parameters

  • title – box title
  • notitle – Hide title from top bar
  • noheader – Hide top bar completely
  • name – name of the template
  • orientationvertical or horizontal
  • selected – tab to automatically display
  • size – size of class icons
  • width – control the width of the box
  • icononly – only display the class icons (no text labels)
  • instant – set to 'yes' to disable animations
  • <class name> – content (scout, soldier, pyro, etc, all-class for the all-class tab).

Example

{{ClassTabs
| title    = Classes
| name = ClassTabs
| selected = heavy
| size     = 24px

| scout    = Scout
| soldier  = Soldier
| pyro     = Pyro
| demoman  = Demoman
| heavy    = Heavy
| engineer = Engineer
| medic    = Medic
| sniper   = Sniper
| spy      = Spy
}}

See also