|
|
(28 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{Tabs
| |
− | | title = {{{title}}}
| |
− | | name = {{{name}}}
| |
− | | collapsed = {{{collapsed|}}}
| |
− | | orientation = {{{orientation|vertical}}}
| |
− | | {{#if:{{{selected|}}}|selected|null}} = {{#switch:{{lc:{{{selected|}}}}}
| |
− | | scout = 1
| |
− | | soldier = 2
| |
− | | pyro = 3
| |
− | | demoman = 4
| |
− | | heavy = 5
| |
− | | #default = 1
| |
− | }}
| |
− | | {{#if:{{{notitle|}}}|notitle|null}} = {{{notitle|}}}
| |
− | | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
| |
− | | {{#if:{{{width|}}}|width|null}} = {{{width|}}}
| |
− | | icon1 = {{Paint name|Australium Gold}}
| |
− | | icon2 = {{Paint name|Australium Gold}}
| |
− | | icon3 = {{Paint name|Australium Gold}}
| |
− | | icon4 = {{Paint name|Australium Gold}}
| |
− | | icon5 = {{Paint name|Australium Gold}}
| |
| | | |
− | | content1 = {{{Painted variants}}}
| |
− | | content2 = {{{Painted styles 1}}}
| |
− | | content3 = {{{Painted styles 2}}}
| |
− | | content4 = {{{Painted styles 3}}}
| |
− | | content5 = {{{Painted styles 4}}}
| |
− | }}</includeonly><noinclude>
| |
− | {{doc begin}}
| |
− | Wrapper for {{tl|Tabs}} with class-specific tabs.
| |
− |
| |
− | === Parameters ===
| |
− | * {{code|title}} – box title
| |
− | * {{code|notitle}} – Hide box title from top bar
| |
− | * {{code|name}} – name of the template
| |
− | * {{code|selected}} – tab to automatically display
| |
− | * {{code|size}} – size of class icons
| |
− | * {{code|width}} – control the width of the box
| |
− | * {{code|instant}} – set to 'yes' to disable animations
| |
− | * {{code|<class name>}} – content ({{code|scout}}, {{code|soldier}}, {{code|pyro}}, etc, {{code|all-class}} for the all-class tab).
| |
− |
| |
− | === Example ===
| |
− | <pre>
| |
− | {{User:AdvanS3b/StylesTab
| |
− | | title = Styles
| |
− | | selected = heavy
| |
− | | size = 24px
| |
− |
| |
− | | scout = Scout
| |
− | | soldier = Soldier
| |
− | | pyro = Pyro
| |
− | | demoman = Demoman
| |
− | | heavy = Heavy
| |
− | }}
| |
− | </pre>
| |
− |
| |
− | {{User:AdvanS3b/StylesTab
| |
− | | title = Styles
| |
− | | name = StylesTabs
| |
− | | selected = heavy
| |
− | | size = 24px
| |
− |
| |
− | | scout = Scout
| |
− | | soldier = Soldier
| |
− | | pyro = Pyro
| |
− | | demoman = Demoman
| |
− | | heavy = Heavy
| |
− | }}
| |
− |
| |
− | == See also ==
| |
− | * {{tl|Tabs}}
| |
− |
| |
− | [[Category:Navbox templates]]
| |
− | </noinclude>
| |