Difference between revisions of "Template:ClassTabs"
m (+) |
m |
||
Line 43: | Line 43: | ||
| icon8 = {{{{#if:{{{icononly|}}}|Icon class|Class link}}|size={{{size|{{{icon-size|24px}}}}}}|Sniper}} | | icon8 = {{{{#if:{{{icononly|}}}|Icon class|Class link}}|size={{{size|{{{icon-size|24px}}}}}}|Sniper}} | ||
| icon9 = {{{{#if:{{{icononly|}}}|Icon class|Class link}}|size={{{size|{{{icon-size|24px}}}}}}|Spy}} | | icon9 = {{{{#if:{{{icononly|}}}|Icon class|Class link}}|size={{{size|{{{icon-size|24px}}}}}}|Spy}} | ||
− | | {{#if:{{{all-class|}}}|icon10|null}} = [[File:TF2 crosshair orange.png|24px|link=Classes{{if lang}}]] | + | | {{#if:{{{all-class|}}}|icon10|null}} = [[File:TF2 crosshair orange.png|24px|link=Classes{{if lang}}]] {{#if:{{{icononly|}}}||{{ucfirst:{{MediaWiki:Searchall{{if lang}}}}}}}} |
| content1 = {{{scout}}} | | content1 = {{{scout}}} |
Revision as of 01:45, 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}}