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

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 19: Line 19:
 
  | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
 
  | {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
 
  | {{#if:{{{width|}}}|width|null}} = {{{width|}}}
 
  | {{#if:{{{width|}}}|width|null}} = {{{width|}}}
  | icon1 = [[{{{file-1}}}|thumb|center|20px]]
+
  | icon1 = [[{{{file-1}}}|20px]]
  | icon2 = [[{{{file-2}}}|thumb|center|20px]]
+
  | icon2 = [[{{{file-2}}}|20px]]
  | icon3 = [[{{{file-3}}}|thumb|center|20px]]
+
  | icon3 = [[{{{file-3}}}|20px]]
  | icon4 = [[{{{file-4}}}|thumb|center|20px]]
+
  | icon4 = [[{{{file-4}}}|20px]]
  | icon5 = [[{{{file-5}}}|thumb|center|20px]]
+
  | icon5 = [[{{{file-5}}}|20px]]
  | icon6 = [[{{{file-6}}}|thumb|center|20px]]
+
  | icon6 = [[{{{file-6}}}|20px]]
  | icon7 = [[{{{file-7}}}|thumb|center|20px]]
+
  | icon7 = [[{{{file-7}}}|20px]]
  | icon8 = [[{{{file-8}}}|thumb|center|20px]]
+
  | icon8 = [[{{{file-8}}}|20px]]
  | icon9 = [[{{{file-9}}}|thumb|center|20px]]
+
  | icon9 = [[{{{file-9}}}|20px]]
  | icon10= [[{{{file-10}}}|thumb|center|20px]]
+
  | icon10= [[{{{file-10}}}|20px]]
 
  | {{#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}}}}}}
  
  | content1 = [[{{{file-1}}}|thumb|center|500px]]
+
  | content1 = [[{{{file-1}}}|frame|center|500px]]
  | content2 = [[{{{file-2}}}|thumb|center|500px]]
+
  | content2 = [[{{{file-2}}}|frame|center|500px]]
  | content3 = [[{{{file-3}}}|thumb|center|500px]]
+
  | content3 = [[{{{file-3}}}|frame|center|500px]]
  | content4 = [[{{{file-4}}}|thumb|center|500px]]
+
  | content4 = [[{{{file-4}}}|frame|center|500px]]
  | content5 = [[{{{file-5}}}|thumb|center|500px]]
+
  | content5 = [[{{{file-5}}}|frame|center|500px]]
  | content6 = [[{{{file-6}}}|thumb|center|500px]]
+
  | content6 = [[{{{file-6}}}|frame|center|500px]]
  | content7 = [[{{{file-7}}}|thumb|center|500px]]
+
  | content7 = [[{{{file-7}}}|frame|center|500px]]
  | content8 = [[{{{file-8}}}|thumb|center|500px]]
+
  | content8 = [[{{{file-8}}}|frame|center|500px]]
  | content9 = [[{{{file-9}}}|thumb|center|500px]]
+
  | content9 = [[{{{file-9}}}|frame|center|500px]]
  | content10 = [[{{{file-10}}}|thumb|center500px]]
+
  | content10 = [[{{{file-10}}}|frame|center|500px]]
 
  | {{#if:{{{all-class|}}}|content10|null}} = {{{all-class|}}}
 
  | {{#if:{{{all-class|}}}|content10|null}} = {{{all-class|}}}
 
  }}</includeonly><noinclude>
 
  }}</includeonly><noinclude>

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