Difference between revisions of "User:Aperture AI/Template:Test"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{Tabs
+
<includeonly>{{User:Aperture AI/Template:Test/cell
 
  | title = {{{title}}}
 
  | title = {{{title}}}
 
  | name = {{{name}}}
 
  | name = {{{name}}}
Line 39: Line 39:
 
  | file-desc-14 = {{{file-desc-14}}}
 
  | file-desc-14 = {{{file-desc-14}}}
 
  | file-desc-15 = {{{file-desc-15}}}
 
  | file-desc-15 = {{{file-desc-15}}}
| {{#if:{{{all-class|}}}|icon10|null}} = {{Icon class|class=Random|icon-size={{{icon-size|24px}}}|link=Classes}} {{ucfirst:{{MediaWiki:Searchall{{if lang}}}}}}
+
}}}}
  
 
  | content1 = [[{{{file-1}}}|300px]]
 
  | content1 = [[{{{file-1}}}|300px]]

Revision as of 20:59, 29 April 2011

Documentation for Aperture AI/Template:Test

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

Parameters

  • title – box title
  • 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:Aperture AI/Template:Test
| title    = Classes
| name = ClassTabs
| selected = heavy
| size     = 24px

| scout    = Scout
| soldier  = Soldier
| pyro     = Pyro
| demoman  = Demoman
| heavy    = Heavy
| engineer = Engineer
| medic    = Medic
| sniper   = Sniper
| spy      = Spy
}}