Difference between revisions of "User:AdvanS3b/StylesTab"

From Team Fortress Wiki
Jump to: navigation, search
(test)
(Blanked the page)
 
(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}} &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
 
* {{code|<class name>}} &ndash; 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>
 

Latest revision as of 11:14, 10 August 2011