Difference between revisions of "User:AdvanS3b/StylesTab"

From Team Fortress Wiki
Jump to: navigation, search
(test)
Line 15: Line 15:
 
  | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
 
  | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
 
  | {{#if:{{{width|}}}|width|null}} = {{{width|}}}
 
  | {{#if:{{{width|}}}|width|null}} = {{{width|}}}
  | icon1 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Scout}}
+
  | icon1 = {{Paint name|Australium Gold}}
  | icon2 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Soldier}}
+
  | icon2 = {{Paint name|Australium Gold}}
  | icon3 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Pyro}}
+
  | icon3 = {{Paint name|Australium Gold}}
  | icon4 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Demoman}}
+
  | icon4 = {{Paint name|Australium Gold}}
  | icon5 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Heavy}}
+
  | icon5 = {{Paint name|Australium Gold}}
  
 
  | content1 = {{{Painted variants}}}
 
  | content1 = {{{Painted variants}}}
  | content2 = {{{soldier}}}
+
  | content2 = {{{Painted styles 1}}}
  | content3 = {{{pyro}}}
+
  | content3 = {{{Painted styles 2}}}
  | content4 = {{{demoman}}}
+
  | content4 = {{{Painted styles 3}}}
  | content5 = {{{heavy}}}
+
  | content5 = {{{Painted styles 4}}}
 
  }}</includeonly><noinclude>
 
  }}</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}

Revision as of 01:10, 13 May 2011

Documentation for AdvanS3b/StylesTab

Wrapper for {{Tabs}} with class-specific tabs.

Parameters

  • title – box title
  • notitle – Hide box title from top bar
  • name – name of the template
  • selected – tab to automatically display
  • size – size of class icons
  • width – control the width of the box
  • instant – set to 'yes' to disable animations
  • <class name> – content (scout, soldier, pyro, etc, all-class for the all-class tab).

Example

{{User:AdvanS3b/StylesTab
| title    = Styles
| selected = heavy
| size     = 24px

| scout    = Scout
| soldier  = Soldier
| pyro     = Pyro
| demoman  = Demoman
| heavy    = Heavy
}}


See also