Difference between revisions of "User:AdvanS3b/StylesTab"

From Team Fortress Wiki
Jump to: navigation, search
(Work in progress (test))
 
(Blanked the page)
 
(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}} &ndash; box title
 
* {{code|notitle}} &ndash; Hide box title from top bar
 
* {{code|name}} &ndash; name of the template
 
* {{code|selected}} &ndash; tab to automatically display
 
* {{code|size}} &ndash; size of class icons
 
* {{code|width}} &ndash; control the width of the box
 
* {{code|instant}} &ndash; 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>
 

Latest revision as of 11:14, 10 August 2011