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

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 24: Line 24:
 
  | {{#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}}
+
  | file-desc-1 = {{{file-desc-1}}}
  | icon2 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Soldier}}
+
| file-desc-2 = {{{file-desc-2}}}
  | icon3 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Pyro}}
+
| file-desc-3 = {{{file-desc-3}}}
  | icon4 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Demoman}}
+
  | file-desc-4 = {{{file-desc-4}}}
  | icon5 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Heavy}}
+
| file-desc-5 = {{{file-desc-5}}}
  | icon6 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Engineer}}
+
| file-desc-6 = {{{file-desc-6}}}
  | icon7 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Medic}}
+
  | file-desc-7 = {{{file-desc-7}}}
  | icon8 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Sniper}}
+
| file-desc-8 = {{{file-desc-8}}}
  | icon9 = {{Class link|size={{{size|{{{icon-size|24px}}}}}}|Spy}}
+
| file-desc-9 = {{{file-desc-9}}}
 +
  | file-desc-10 = {{{file-desc-10}}}
 +
  | file-desc-11 = {{{file-desc-11}}}
 +
  | file-desc-12 = {{{file-desc-12}}}
 +
  | file-desc-13 = {{{file-desc-13}}}
 +
  | file-desc-14 = {{{file-desc-14}}}
 +
  | 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}}}}}}
 
  | {{#if:{{{all-class|}}}|icon10|null}} = {{Icon class|class=Random|icon-size={{{icon-size|24px}}}|link=Classes}} {{ucfirst:{{MediaWiki:Searchall{{if lang}}}}}}
  
Line 88: Line 94:
 
| name = Slideshow
 
| name = Slideshow
 
| selected = file-4
 
| selected = file-4
| size    = 24px
+
| size    = 10px
  
| file-1   = File:Poker night cover.jpg
+
| file-1     = File:Poker night cover.jpg
| file-2   = File:Max ears.jpg
+
| file-desc-1 = Poker
| file-3   = File:Soldier worms small.png
+
| file-2     = File:Max ears.jpg
| file-4   = File:Rift.jpg
+
| file-desc-2 = Max
| file-5   = File:Tf2 items.jpg
+
| file-3     = File:Soldier worms small.png
| file-6   = File:Soldier engy.png
+
| file-desc-3 = Worms
| file-7   = File:Mbsf promo.jpg
+
| file-4     = File:Rift.jpg
| file-8   = File:Poker night cover.jpg
+
| file-desc-4 = Rift
| file-9   = File:Rift.jpg
+
| file-5     = File:Tf2 items.jpg
 +
| file-desc-5 = Ellis
 +
| file-6     = File:Soldier engy.png
 +
| file-desc-6 = Hatless
 +
| file-7     = File:Mbsf promo.jpg
 +
| file-desc-7 = MBSF
 +
| file-8     = File:Poker night cover.jpg
 +
| file-desc-8 = Poker 2
 +
| file-9     = File:Rift.jpg
 +
| file-desc-9 = Rift 2
 
}}
 
}}
  

Revision as of 20:57, 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
}}