Difference between revisions of "Template:ClassTabs"
m (Fixing missing bracket that caused a reference to a non existant template 'Style' across 300 pages) |
|||
Line 19: | Line 19: | ||
| #default = 1 | | #default = 1 | ||
}} | }} | ||
− | | {{#if:{{style|}}}|style|null}} = {{{style|}}} | + | | {{#if:{{{style|}}}|style|null}} = {{{style|}}} |
| {{#if:{{{edittabs|}}}|edittabs|null}} = {{{edittabs|}}} | | {{#if:{{{edittabs|}}}|edittabs|null}} = {{{edittabs|}}} | ||
| {{#if:{{{edit1|{{{editscout|}}}}}}|edit1|null}} = {{{edit1|{{{editscout|}}}}}} | | {{#if:{{{edit1|{{{editscout|}}}}}}|edit1|null}} = {{{edit1|{{{editscout|}}}}}} |
Revision as of 13:12, 23 February 2012
Documentation for ClassTabs
Wrapper for {{Tabs}}
with class-specific tabs.
Parameters
title
– box titlenotitle
– Hidetitle
from top barnoheader
– Hide top bar completelyname
– name of the templateorientation
–vertical
orhorizontal
selected
– tab to automatically displaysize
– size of class iconswidth
– control the width of the boxicononly
– 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
{{Tabs}}