Difference between revisions of "Template:Robot icon/sandbox"
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{crit|}}}|<div style=" | + | <includeonly>{{#if:{{#ifeq:{{{2}}}|crit|¬}}{{#ifeq:{{{3}}}|crit|¬}}|<!-- |
− | --><div style="display:inline-block;padding:3px 3px;margin-right:4px;border-radius:4px;background:{{#if:{{{2|{{{ | + | With crits on, we create a second div which is the border. We then move the file over the border, and place both within a display:inline-block div. |
+ | --><div style="display:inline-block; vertical-align:middle"><div style="width:{{#expr:{{{size|24}}}+8}}px; height:{{#expr:{{{size|24}}}+8}}px; background:#0000ff"></div><div style="position:absolute"><div style="position:relative; top:-{{#expr:{{{size|24}}}+6}}px; right:-2px; width:{{{size|24}}}px; height:{{{size|24}}}px; padding:2px 2px; border-radius:4px; background:{{#if:{{#ifeq:{{{2}}}|giant|¬}}{{#ifeq:{{{3}}}|giant|¬}}|#bf1603|#ebe4ca}};">|<!-- | ||
+ | With crits off, it's the simple, old stuff. | ||
+ | --><div style="display:inline-block;padding:3px 3px;margin-right:4px;border-radius:4px;background:{{#if:{{#ifeq:{{{2}}}|giant|¬}}{{#ifeq:{{{3}}}|giant|¬}}|#bf1603|#ebe4ca}};">}}<!-- | ||
+ | -->[[File:Leaderboard class {{#switch:{{lc:{{{1|{{{class|}}}}}}}} | ||
| scout = scout | | scout = scout | ||
| super scout | fast scout | fast giant scout | scout fast giant | scout giant fast = scout giant fast | | super scout | fast scout | fast giant scout | scout fast giant | scout giant fast = scout giant fast | ||
Line 53: | Line 57: | ||
| tank = tank | | tank = tank | ||
| special blimp | blimp = special blimp | | special blimp | blimp = special blimp | ||
− | }}.png|x | + | }}.png|x{{{size|24}}}px{{#if:{{{link|}}}|{{!}}link={{{link}}}}}|{{ucfirst:{{{alt|{{{1|}}}}}}}}]]</div>{{#if:{{#ifeq:{{{2}}}|crit|¬}}{{#ifeq:{{{3}}}|crit|¬}}|</div></div>}}</includeonly><noinclude> |
− | {{Robot icon/sandbox|scout|crit= | + | {{doc begin}}{{TOC float|right}} |
+ | Used to display Robot icons on mission pages. | ||
+ | For displaying non-robot classes, please use {{tl|Icon class}}. | ||
+ | == Examples == | ||
+ | *{{tlx|Robot icon/sandbox|Pyro}} produces {{Robot icon/sandbox|Pyro}} | ||
+ | *{{tlx|Robot icon/sandbox|Scout|giant}} produces {{Robot icon/sandbox|Scout|giant}} | ||
+ | *{{tlx|Robot icon/sandbox|soldier spammer|giant|3=size=40}} produces {{Robot icon/sandbox|soldier spammer|giant|size=40}} | ||
+ | *{{tlx|Robot icon/sandbox|demoman|3=link=Demoman}} produces {{Robot icon/sandbox|Demoman|link=Demoman}} | ||
+ | *{{tlx|Robot icon/sandbox|Soldier|3=alt=Rocket Launcher}} produces {{Robot icon/sandbox|Soldier|alt=Rocket Launcher}} | ||
+ | *{{tlx|Robot icon/sandbox|Heavy|crit}} produces {{Robot icon/sandbox|Heavy|crit}} | ||
+ | *{{tlx|Robot icon/sandbox|Heavy|giant|crit}} produces {{Robot icon/sandbox|Heavy|giant|crit}} | ||
+ | |||
+ | {| class="grid" | ||
+ | | valign=top | | ||
+ | === Scout based === | ||
+ | :{{Robot icon/sandbox|scout}} Scout = <tt>scout</tt> | ||
+ | :{{Robot icon/sandbox|scout giant fast}} Super Scout = <tt>scout giant fast</tt> | ||
+ | :{{Robot icon/sandbox|scout stun}} Major League Scout = <tt>scout stun</tt> | ||
+ | :{{Robot icon/sandbox|scout bat}} ? = <tt>scout bat</tt> | ||
+ | :{{Robot icon/sandbox|scout bonk}} Bonk Scout = <tt>scout bonk</tt> | ||
+ | :{{Robot icon/sandbox|scout fan}} Fan Scout = <tt>scout fan</tt> | ||
+ | :{{Robot icon/sandbox|scout shortstop}} Shortstop Scout = <tt>scout shortstop</tt> | ||
+ | :{{Robot icon/sandbox|scout stun armored}} Armored Stun Scout = <tt>scout stun armored</tt> | ||
+ | :{{Robot icon/sandbox|scout jumping}} Jumping Scout = <tt>scout jumping</tt> | ||
+ | === Soldier based === | ||
+ | :{{Robot icon/sandbox|soldier}} Soldier = <tt>soldier</tt> | ||
+ | :{{Robot icon/sandbox|soldier blackbox}} Black Box Soldier = <tt>soldier blackbox</tt> | ||
+ | :{{Robot icon/sandbox|soldier liberty launcher}} Liberty Launcher Soldier = <tt>soldier libertylauncher</tt> | ||
+ | :{{Robot icon/sandbox|soldier backup}} Backup Soldier = <tt>soldier backup</tt> | ||
+ | :{{Robot icon/sandbox|soldier buff}} Buff Soldier = <tt>soldier buff</tt> | ||
+ | :{{Robot icon/sandbox|soldier conch}} Conch Soldier = <tt>soldier conch</tt> | ||
+ | :{{Robot icon/sandbox|soldier crit}} Charged Soldier = <tt>soldier crit</tt> | ||
+ | :{{Robot icon/sandbox|soldier infinite}} Infinite Soldier Spammer = <tt>soldier infinite</tt> | ||
+ | :{{Robot icon/sandbox|soldier barrage}} Barrage Soldier = <tt>soldier barrage</tt> | ||
+ | :{{Robot icon/sandbox|soldier spammer}} Rapid Fire Soldier = <tt>soldier spammer</tt> | ||
+ | :{{Robot icon/sandbox|soldier sergeant crits}} Sergeant Crits = <tt>soldier sergeant crits</tt> | ||
+ | :{{Robot icon/sandbox|major crits}} Major Crits = <tt>soldier major crits</tt> | ||
+ | === Pyro based === | ||
+ | :{{Robot icon/sandbox|pyro}} Pyro = <tt>pyro</tt> | ||
+ | :{{Robot icon/sandbox|pyro flare}} Flare Pyro = <tt>pyro flare</tt> | ||
+ | === Demoman based === | ||
+ | :{{Robot icon/sandbox|demoman}} Demoman = <tt>demoman</tt> | ||
+ | :{{Robot icon/sandbox|demoknight}} Demoknight = <tt>demoknight</tt> | ||
+ | :{{Robot icon/sandbox|demoknight samurai}} Demoknight Samurai = <tt>demoknight samurai</tt> | ||
+ | :{{Robot icon/sandbox|demo burst}} Burst Demoman = <tt>demo burst</tt> | ||
+ | :{{Robot icon/sandbox|demo bomber}} Major Bomber = <tt>demo bomber</tt> | ||
+ | | valign=top | | ||
+ | === Heavy based === | ||
+ | :{{Robot icon/sandbox|heavy}} Heavy = <tt>heavy</tt> | ||
+ | :{{Robot icon/sandbox|heavy champ}} Heavyweight Champ = <tt>heavy champ</tt> | ||
+ | :{{Robot icon/sandbox|heavy deflector}} Deflector Heavy = <tt>heavy deflector</tt> | ||
+ | :{{Robot icon/sandbox|heavy deflector push}} Deflector Heavy Pusher = <tt>heavy deflector push</tt> | ||
+ | :{{Robot icon/sandbox|heavy deflector healonkill}} Deflector Heavy Healer = <tt>heavy deflector healonkill</tt> | ||
+ | :{{Robot icon/sandbox|heavy shotgun}} Shotgun Heavy = <tt>heavy shotgun</tt> | ||
+ | :{{Robot icon/sandbox|heavy heater}} Heater Heavy = <tt>heavy heater</tt> | ||
+ | :{{Robot icon/sandbox|heavy mittens}} Heavy Mitten = <tt>heavy mittens</tt> | ||
+ | :{{Robot icon/sandbox|heavy steelfist}} Steel Gauntlet = <tt>heavy steelfist</tt> | ||
+ | :{{Robot icon/sandbox|heavy gru}} Heavyweight Champ (Fast) = <tt>heavy gru</tt> | ||
+ | :{{Robot icon/sandbox|heavy chief}} Captain Punch = <tt>heavy chief</tt> | ||
+ | === Engineer based === | ||
+ | :{{Robot icon/sandbox|engineer}} Engineer = <tt>engineer</tt> | ||
+ | :{{Robot icon/sandbox|teleporter}} Teleporter = <tt>teleporter</tt> | ||
+ | === Medic based === | ||
+ | :{{Robot icon/sandbox|medic}} Medic = <tt>medic</tt> | ||
+ | :{{Robot icon/sandbox|medic uber}} Über Medic = <tt>medic uber</tt> | ||
+ | === Sniper based === | ||
+ | :{{Robot icon/sandbox|sniper}} Sniper = <tt>sniper</tt> | ||
+ | :{{Robot icon/sandbox|sniper bow}} Bowman = <tt>sniper bow</tt> | ||
+ | :{{Robot icon/sandbox|sniper bow multi}} Multi Bowman = <tt>sniper bow multi</tt> | ||
+ | :{{Robot icon/sandbox|sniper jarate}} ? = <tt>sniper jarate</tt> | ||
+ | :{{Robot icon/sandbox|sniper sydneysleeper}} Sydney Sniper = <tt>sniper sydneysleeper</tt> | ||
+ | === Spy based === | ||
+ | :{{Robot icon/sandbox|spy}} Spy = <tt>spy</tt> | ||
+ | === Special === | ||
+ | :{{Robot icon/sandbox|sentry buster}} Sentry Buster = <tt>sentry buster</tt> | ||
+ | :{{Robot icon/sandbox|tank}} Tank = <tt>tank</tt> | ||
+ | :{{Robot icon/sandbox|blimp}} Blimp = <tt>blimp</tt> | ||
+ | |} | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:04, 4 November 2015
Documentation for Robot icon/sandbox
Used to display Robot icons on mission pages.
For displaying non-robot classes, please use {{Icon class}}
.
Examples
{{Robot icon/sandbox|Pyro}}
produces{{Robot icon/sandbox|Scout|giant}}
produces{{Robot icon/sandbox|soldier spammer|size=40}}
produces{{Robot icon/sandbox|demoman|link=Demoman}}
produces{{Robot icon/sandbox|Soldier|alt=Rocket Launcher}}
produces{{Robot icon/sandbox|Heavy|crit}}
produces{{Robot icon/sandbox|Heavy|giant|crit}}
produces
Scout based
Soldier based
Pyro based
Demoman based
|
Heavy based
Engineer based
Medic based
Sniper based
Spy based
Special
|