Difference between revisions of "Template:ClassTabs"
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Tabs | <includeonly>{{Tabs | ||
| title = {{{title}}} | | title = {{{title}}} | ||
− | | name = {{{name}}} | + | | name = {{{name|ClassTabs}}} |
| collapsed = {{{collapsed|}}} | | collapsed = {{{collapsed|}}} | ||
| orientation = {{{orientation|vertical}}} | | orientation = {{{orientation|vertical}}} | ||
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|}}}}}} |
Latest revision as of 03:42, 6 November 2013
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}}