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

From Team Fortress Wiki
Jump to: navigation, search
m
m (Blank)
 
(51 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Tabs
+
<div class="plainlinks plainlinks2" style="text-align:center;">
| title = {{{title}}}
+
<strong style="font-size: 1.5em;">Template test page</strong>
| name = {{{name}}}
 
| collapsed = {{{collapsed|}}}
 
| orientation = {{{orientation|vertical}}}
 
| {{#if:{{{selected|}}}|selected|null}} = {{#switch:{{lc:{{{selected|}}}}}
 
  | file-1  = 1
 
  | file-2  = 2
 
  | file-3  = 3
 
  | file-4  = 4
 
  | file-5  = 5
 
  | file-6  = 6
 
  | file-7  = 7
 
  | file-8  = 8
 
  | file-9  = 9
 
  | file-10  = 10
 
  | #default = 1
 
  }}
 
| {{#if:{{{instant|}}}|instant|null}} = {{{instant|}}}
 
| {{#if:{{{width|}}}|width|null}} = {{{width|}}}
 
| icon1 = {{{file-desc-1}}}
 
| icon2 = {{{file-desc-2}}}
 
| icon3 = {{{file-desc-3}}}
 
| icon4 = {{{file-desc-4}}}
 
| icon5 = {{{file-desc-5}}}
 
| icon6 = {{{file-desc-6}}}
 
| icon7 = {{{file-desc-7}}}
 
| icon8 = {{{file-desc-8}}}
 
| icon9 = {{{file-desc-9}}}
 
| icon10= {{{file-desc-10}}}
 
| {{#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}}}|500px]]
+
[[File:Unknownweapon.png|256px|link=]]
| content2 = [[{{{file-2}}}|500px]]
 
| content3 = [[{{{file-3}}}|500px]]
 
| content4 = [[{{{file-4}}}|500px]]
 
| content5 = [[{{{file-5}}}|500px]]
 
| content6 = [[{{{file-6}}}|500px]]
 
| content7 = [[{{{file-7}}}|500px]]
 
| content8 = [[{{{file-8}}}|500px]]
 
| content9 = [[{{{file-9}}}|500px]]
 
| content10 = [[{{{file-10}}}|500px]]
 
| {{#if:{{{all-class|}}}|content10|null}} = {{{all-class|}}}
 
}}</includeonly><noinclude>
 
{{doc begin}}
 
Wrapper for {{tl|Tabs}} with class-specific tabs.
 
  
=== Parameters ===
+
<strong>
* {{code|title}} &ndash; box title
+
I use this page for testing global changes in high-use templates.<br/>
* {{code|name}} &ndash; name of the template
+
This page is currently empty. '''[[User:Aperture AI|Go back]]'''.<br/>
* {{code|selected}} &ndash; tab to automatically display
+
</strong>
* {{code|size}} &ndash; size of class icons
+
<center>
* {{code|width}} &ndash; control the width of the box
+
<div style="width: 300px; margin: 5px; border: 1px solid #dddddd; border-radius: 7px; -moz-border-radius: 7px">
* {{code|instant}} &ndash; set to 'yes' to disable animations
+
<div style="padding: 3px; background-color: #dddddd; border-radius: 7px 7px 0 0; font-weight: 700;">Previously tested templates:</div>
* {{code|<class name>}} &ndash; content ({{code|scout}}, {{code|soldier}}, {{code|pyro}}, etc, {{code|all-class}} for the all-class tab).
+
<small>
 
+
* [[Template:Backpack item|Backpack item]] - custom icon
=== Example ===
+
* [[Template:Item infobox|Item infobox]] - custom icon
<pre>
+
* [[Template:Item infobox|Item infobox]] - new team color box
{{User:Aperture AI/Template:Test
+
</small>
| title    = Classes
+
</div>
| name = ClassTabs
+
</center>
| selected = heavy
 
| size    = 24px
 
 
 
| scout    = Scout
 
| soldier  = Soldier
 
| pyro    = Pyro
 
| demoman  = Demoman
 
| heavy    = Heavy
 
| engineer = Engineer
 
| medic    = Medic
 
| sniper  = Sniper
 
| spy      = Spy
 
}}
 
</pre>
 
 
 
{{User:Aperture AI/Template:Test
 
| title    = Promo images
 
| name = Slideshow
 
| selected = file-4
 
| size    = 10px
 
 
 
| file-1      = File:Poker night cover.jpg
 
| file-desc-1 = Poker
 
| file-2      = File:Max ears.jpg
 
| file-desc-2 = Max
 
| file-3      = File:Soldier worms small.png
 
| file-desc-3 = Worms
 
| file-4      = File:Rift.jpg
 
| file-desc-4 = Rift
 
| 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
 
}}
 
 
 
== See also ==
 
* {{tl|Tabs}}
 
 
 
</noinclude>
 

Latest revision as of 15:18, 10 May 2011