|
|
(31 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{Tabs
| |
− | | title = {{{title}}}
| |
− | | name = {{{name}}}
| |
− | | collapsed = {{{collapsed|}}}
| |
− | | orientation = {{{orientation|horizontal}}}
| |
− | | {{#if:{{{selected|}}}|selected|null}} = {{#switch:{{lc:{{{selected|}}}}}
| |
− | | style1 = 1
| |
− | | style2 = 2
| |
− | | style3 = 3
| |
− | | style4 = 4
| |
− | | #default = 1
| |
− | }}
| |
− | | {{#if:{{{notitle|}}}|notitle|null}} = {{{notitle|}}}
| |
− | | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
| |
− | | {{#if:{{{width|}}}|width|null}} = {{{width|}}}
| |
| | | |
− | | content1 = {{{style1}}}
| |
− | | content2 = {{{style2}}}
| |
− | | content3 = {{{style3}}}
| |
− | | content4 = {{{style4}}}
| |
− | }}</includeonly><noinclude>
| |
− | {{doc begin}}
| |
− | Wrapper for {{tl|Tabs}} with Styles 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
| |
− |
| |
− | === Example ===
| |
− | <pre>
| |
− | {{AdvanS3b/StylesTab
| |
− | | title = Styles
| |
− | | name = StylesTabs
| |
− | | selected = style1
| |
− | | size = 24px
| |
− |
| |
− | | style1 = style1
| |
− | | style2 = style2
| |
− | | style3 = style3
| |
− | | style4 = style4
| |
− | }}
| |
− | </pre>
| |
− |
| |
− | {{AdvanS3b/StylesTab
| |
− | | title = Styles
| |
− | | name = StylesTabs
| |
− | | selected = style1
| |
− | | size = 24px
| |
− |
| |
− | | style1 = style1
| |
− | | style2 = style2
| |
− | | style3 = style3
| |
− | | style4 = style4
| |
− | }}
| |
− |
| |
− | == See also ==
| |
− | * {{tl|Tabs}}
| |
− |
| |
− | [[Category:Navbox templates]]
| |
− | </noinclude>
| |