Actions

Template

Difference between revisions of "ClassTabs"

From Sonic Retro

(Created page with "<includeonly>{{Tabs | title = {{{title}}} | name = {{{name}}} | collapsed = {{{collapsed|}}} | orientation = {{{orientation|vertical}}} | {{#if:{{{selected|}}}|selected|n...")
 
 
(One intermediate revision by one other user not shown)
Line 31: Line 31:
 
  | content4 = {{{gestures}}}
 
  | content4 = {{{gestures}}}
 
  }}</includeonly><noinclude>
 
  }}</includeonly><noinclude>
{{doc begin}}
 
Wrapper for {{tl|Tabs}} with class-specific tabs.
 
 
=== Parameters ===
 
* {{code|title}} &ndash; box title
 
* {{code|notitle}} &ndash; Hide <code>title</code> from top bar
 
* {{code|noheader}} &ndash; Hide top bar completely
 
* {{code|name}} &ndash; name of the template
 
* {{code|orientation}} &ndash; <code>vertical</code> or <code>horizontal</code>
 
* {{code|selected}} &ndash; tab to automatically display
 
* {{code|size}} &ndash; size of class icons
 
* {{code|width}} &ndash; control the width of the box
 
* {{code|icononly}} &ndash; only display the class icons (no text labels)
 
* {{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 ===
 
=== Example ===
Line 73: Line 58:
 
| misc  = misc
 
| misc  = misc
 
}}
 
}}
 
+
[[Category:Templates]]
== See also ==
 
* {{tl|Tabs}}
 
 
 
[[Category:Navbox templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:19, 1 January 2022


Example

{{ClassTabs
| title    = Classes
| name = ClassTabs
| selected = hats
| size     = 24px

| hats    = hats
| gestures  = gestures
| skins     = skins 
| misc  = misc
}}
[hide]Classes
show;hide
hats
misc
skins
gestures