Template:ClassTabs: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Test dis)
(I realised i don't need this)
Line 24: Line 24:
  | icon3 = {{|size={{{size|{{{icon-size|24px}}}}}}|Skins}}
  | icon3 = {{|size={{{size|{{{icon-size|24px}}}}}}|Skins}}
  | icon4 = {{|size={{{size|{{{icon-size|24px}}}}}}|Gestures}}
  | icon4 = {{|size={{{size|{{{icon-size|24px}}}}}}|Gestures}}
}}
}}</includeonly><noinclude>
 
| content1 = {{{hats}}}
| content2 = {{{misc}}}
| content3 = {{{skins}}}
| content4 = {{{gestures}}}
}}</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 19:00, 22 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
  • {{|size=24px|Hats}}
  • {{|size=24px|Misc}}
  • {{|size=24px|Skins}}
  • {{|size=24px|Gestures}}
{{{content1}}}
{{{content2}}}
{{{content3}}}
{{{content4}}}
show;hide

See also