|
|
(44 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|horizontal}}}
| |
− | | {{#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-1}}}|70px]]
| |
− | | icon2 = [[{{{file-2}}}|70px]]
| |
− | | icon3 = [[{{{file-3}}}|70px]]
| |
− | | icon4 = [[{{{file-4}}}|70px]]
| |
− | | icon5 = [[{{{file-5}}}|70px]]
| |
− | | icon6 = [[{{{file-6}}}|70px]]
| |
− | | icon7 = [[{{{file-7}}}|70px]]
| |
− | | icon8 = [[{{{file-8}}}|70px]]
| |
− | | icon9 = [[{{{file-9}}}|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}}}}}}
| |
| | | |
− | | content1 = [[{{{file-1}}}|border|center|500px]]
| + | [[File:Unknownweapon.png|256px|link=]] |
− | | content2 = [[{{{file-2}}}|border|center|500px]]
| |
− | | content3 = [[{{{file-3}}}|border|center|500px]]
| |
− | | content4 = [[{{{file-4}}}|border|center|500px]]
| |
− | | content5 = [[{{{file-5}}}|border|center|500px]]
| |
− | | content6 = [[{{{file-6}}}|border|center|500px]]
| |
− | | content7 = [[{{{file-7}}}|border|center|500px]]
| |
− | | content8 = [[{{{file-8}}}|border|center|500px]]
| |
− | | content9 = [[{{{file-9}}}|border|center|500px]]
| |
− | | content10 = [[{{{file-10}}}|border|center|500px]]
| |
− | | {{#if:{{{all-class|}}}|content10|null}} = {{{all-class|}}}
| |
− | }}</includeonly><noinclude>
| |
− | {{doc begin}}
| |
− | Wrapper for {{tl|Tabs}} with class-specific tabs.
| |
| | | |
− | === Parameters ===
| + | <strong> |
− | * {{code|title}} – box title
| + | I use this page for testing global changes in high-use templates.<br/> |
− | * {{code|name}} – name of the template
| + | This page is currently empty. '''[[User:Aperture AI|Go back]]'''.<br/> |
− | * {{code|selected}} – tab to automatically display
| + | </strong> |
− | * {{code|size}} – size of class icons
| + | <center> |
− | * {{code|width}} – 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}} – 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>}} – 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> | |