Template:ClassTabs: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
  | content3 = {{{skins}}}
  | content3 = {{{skins}}}
  | content4 = {{{gestures}}}
  | content4 = {{{gestures}}}
  }}
  }}</includeonly><noinclude>
}}</includeonly><noinclude>
{{doc begin}}
{{doc begin}}
Wrapper for {{tl|Tabs}} with class-specific tabs.
Wrapper for {{tl|Tabs}} with class-specific tabs.

Revision as of 04:05, 23 May 2011

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 = hats
| size     = 24px

| hats    = hats
| gestures  = gestures
| skins     = skins 
| misc  = misc
}}
[hide]Classes
  • Hats
  • {{|size=24px|Misc}}
  • {{|size=24px|Skins}}
  • {{|size=24px|Gestures}}
hats
misc
skins
gestures
show;hide

See also