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

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 30: Line 30:
 
  | icon10= [[{{{file-10}}}|70px]]
 
  | icon10= [[{{{file-10}}}|70px]]
 
  | {{#if:{{{file-desc-11|}}}|icon11|null}} = {{Icon class|class=Random|icon-size={{{icon-size|24px}}}|link=Classes}} {{ucfirst:{{MediaWiki:Searchall{{if lang}}}}}}
 
  | {{#if:{{{file-desc-11|}}}|icon11|null}} = {{Icon class|class=Random|icon-size={{{icon-size|24px}}}|link=Classes}} {{ucfirst:{{MediaWiki:Searchall{{if lang}}}}}}
 
+
<div style="float:left; height:500px; width:300px; overflow:scroll; margin:0; margin-left:10px; margin-bottom:10px;
 
  | content1 = [[{{{file-1}}}|border|center|500px]]
 
  | content1 = [[{{{file-1}}}|border|center|500px]]
 
  | content2 = [[{{{file-2}}}|border|center|500px]]
 
  | content2 = [[{{{file-2}}}|border|center|500px]]
Line 41: Line 41:
 
  | content9 = [[{{{file-9}}}|border|center|500px]]
 
  | content9 = [[{{{file-9}}}|border|center|500px]]
 
  | content10 = [[{{{file-10}}}|border|center|500px]]
 
  | content10 = [[{{{file-10}}}|border|center|500px]]
  | {{#if:{{{all-class|}}}|content10|null}} = {{{all-class|}}}
+
  | {{#if:{{{all-class|}}}|content10|null}} = {{{all-class|}}}</div>
 
  }}</includeonly><noinclude>
 
  }}</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}

Revision as of 21:23, 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
}}