Difference between revisions of "Template:ClassTabs"
m (+icononly) |
m |
||
Line 31: | Line 31: | ||
| {{#if:{{{edit10|{{{editallclass|}}}}}}|edit10|null}} = {{{edit10|{{{editallclass|}}}}}} | | {{#if:{{{edit10|{{{editallclass|}}}}}}|edit10|null}} = {{{edit10|{{{editallclass|}}}}}} | ||
| {{#if:{{{notitle|}}}|notitle|null}} = {{{notitle|}}} | | {{#if:{{{notitle|}}}|notitle|null}} = {{{notitle|}}} | ||
+ | | {{#if:{{{noheader|}}}|noheader|null}} = {{{noheader|}}} | ||
| {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}} | | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}} | ||
| {{#if:{{{width|}}}|width|null}} = {{{width|}}} | | {{#if:{{{width|}}}|width|null}} = {{{width|}}} | ||
Line 60: | Line 61: | ||
=== Parameters === | === Parameters === | ||
* {{code|title}} – box title | * {{code|title}} – box title | ||
− | * {{code|notitle}} – Hide | + | * {{code|notitle}} – Hide <code>title</code> from top bar |
+ | * {{code|noheader}} – Hide top bar completely | ||
* {{code|name}} – name of the template | * {{code|name}} – name of the template | ||
* {{code|orientation}} – <code>vertical</code> or <code>horizontal</code> | * {{code|orientation}} – <code>vertical</code> or <code>horizontal</code> |
Revision as of 01:14, 18 May 2011
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}}