Difference between revisions of "Template:Robot icon/sandbox"
Line 1: | Line 1: | ||
− | <includeonly><div style="display:inline-block | + | <includeonly><div style="display:inline-block"><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:#ebe4ca">[[File:Leaderboard class {{#switch:{{lc:{{{1|{{{class|}}}}}}}} | --><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:#ebe4ca">[[File:Leaderboard class {{#switch:{{lc:{{{1|{{{class|}}}}}}}} | ||
| scout = scout | | scout = scout |
Revision as of 20:36, 4 November 2015
Documentation for Robot icon/sandbox
Used to display Robot icons on mission pages. WIP.
Examples
{{Robot icon/sandbox|Pyro}}
produces{{Robot icon/sandbox|Scout|giant}}
produces{{Robot icon/sandbox|soldier SpaMmer|giant|20px}}
produces{{Robot icon/sandbox|Demoman|link=Demoman}}
produces{{Robot icon/sandbox|Soldier|alt=Rocket Launcher}}
produces
Scout based
Soldier based
Pyro based
Demoman based
|
Heavy based
Engineer based
Medic based
Sniper based
Spy based
Special
|