Difference between revisions of "Template:Robot icon"
m |
m (Add example.) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 3: | Line 3: | ||
--><div style="display:inline-block; vertical-align:middle"><div style="width:{{#expr:{{{size|24}}}+8}}px; height:{{#expr:{{{size|24}}}+8}}px; background:#1e87b9"></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}};">|<!-- | --><div style="display:inline-block; vertical-align:middle"><div style="width:{{#expr:{{{size|24}}}+8}}px; height:{{#expr:{{{size|24}}}+8}}px; background:#1e87b9"></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. | 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|}}}}}}}} | + | --><div style="display:inline-block;padding:3px 3px;margin-right:4px;border-radius:4px;background:{{#if:{{#ifeq:{{{2}}}|giant|¬}}{{#ifeq:{{{3}}}|giant|¬}}|#bf1603|#ebe4ca}};">}}[[{{{custom-icon|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 58: | Line 58: | ||
<!-- Custom robots starting here, don't mind some of them having ridiculously many unnecessary versions of a name for a single icon, it's for testing and I don't feel like removing them anymore. Making icons use the og icon filenames is better since it's helpful for them when they want to make some custom mvm content too, if it has a weird name or some special case then yeah probably an alternative name would be better.--> | <!-- Custom robots starting here, don't mind some of them having ridiculously many unnecessary versions of a name for a single icon, it's for testing and I don't feel like removing them anymore. Making icons use the og icon filenames is better since it's helpful for them when they want to make some custom mvm content too, if it has a weird name or some special case then yeah probably an alternative name would be better.--> | ||
+ | <!-- For future reference, I have added a custom icon override. Please do not expand this list, and just pass your custom icon url in with |custom-icon=File:my custom icon.png --> | ||
| scout accu = scout accu | | scout accu = scout accu | ||
| scout airstun nys = scout airstun nys | | scout airstun nys = scout airstun nys | ||
Line 72: | Line 73: | ||
| scout bostonbasher = scout bostonbasher | | scout bostonbasher = scout bostonbasher | ||
| scout buff = scout buff | | scout buff = scout buff | ||
+ | | scout burst = scout burst | ||
| scout capper armored = scout capper armored | | scout capper armored = scout capper armored | ||
| scout capper nys = scout capper nys | | scout capper nys = scout capper nys | ||
Line 96: | Line 98: | ||
| scout milk nys = scout milk nys | | scout milk nys = scout milk nys | ||
| scout milk para = scout milk para | | scout milk para = scout milk para | ||
+ | | scout milk slowdown = scout milk slowdown | ||
| scout milk stun = scout milk stun | | scout milk stun = scout milk stun | ||
| scout moonshot = scout moonshot | | scout moonshot = scout moonshot | ||
Line 337: | Line 340: | ||
| engineer ranger nys = engineer ranger nys | | engineer ranger nys = engineer ranger nys | ||
| engineer rangertime = engineer rangertime | | engineer rangertime = engineer rangertime | ||
− | | sentrygun | sentry gun | sentrygun nys | sentry | sentry nys | + | | sentrygun | sentry gun | sentrygun nys | sentry | sentry nys = engineer sentry nys |
| engineer shortcircuit = engineer shortcircuit | | engineer shortcircuit = engineer shortcircuit | ||
| engineer shortcircuit lite = engineer shortcircuit lite | | engineer shortcircuit lite = engineer shortcircuit lite | ||
Line 351: | Line 354: | ||
| medic crossbow bleed v2 = medic crossbow bleed v2 | | medic crossbow bleed v2 = medic crossbow bleed v2 | ||
| medic crossbow bleed v3 = medic crossbow bleed v3 | | medic crossbow bleed v3 = medic crossbow bleed v3 | ||
+ | | medic crossbow burst = medic crossbow burst | ||
| medic crossbow nys = medic crossbow nys | | medic crossbow nys = medic crossbow nys | ||
| medic crossbow bleed nys = medic crossbow bleed nys | | medic crossbow bleed nys = medic crossbow bleed nys | ||
Line 396: | Line 400: | ||
| sniper jug tribalshiv death | sniper jug trivalshiv death = sniper jug trivalshiv death | | sniper jug tribalshiv death | sniper jug trivalshiv death = sniper jug trivalshiv death | ||
| sniper kukri = sniper kukri | | sniper kukri = sniper kukri | ||
+ | | sniper m4a1 lite = sniper m4a1 lite | ||
| sniper bow penetrator = sniper bow penetrator | | sniper bow penetrator = sniper bow penetrator | ||
| sniper peppered = sniper peppered | | sniper peppered = sniper peppered | ||
Line 406: | Line 411: | ||
| spy enforcer nys = spy enforcer nys | | spy enforcer nys = spy enforcer nys | ||
| spy kunai = spy kunai | | spy kunai = spy kunai | ||
+ | | spy letranger nys = spy letranger nys | ||
| spy peppered = spy peppered | | spy peppered = spy peppered | ||
| spy pyro = spy pyro | | spy pyro = spy pyro | ||
Line 486: | Line 492: | ||
| thanos heavy thanos heavy = thanos heavy thanos heavy | | thanos heavy thanos heavy = thanos heavy thanos heavy | ||
| thumper lite = thumper lite | | thumper lite = thumper lite | ||
+ | | trashpanda = trashpanda | ||
| ult ark = ult ark | | ult ark = ult ark | ||
| ult c = ult c | | ult c = ult c | ||
Line 534: | Line 541: | ||
| zomboni = zomboni | | zomboni = zomboni | ||
| zomboss = zomboss | | zomboss = zomboss | ||
− | }}.png|x{{{size|24}}}px{{#if:{{{link|}}}|{{!}}link={{{link}}}}}|{{ucfirst:{{{alt|{{{1|}}}}}}}}]]</div>{{#if:{{#ifeq:{{{2}}}|crit|¬}}{{#ifeq:{{{3}}}|crit|¬}}|</div></div>{{#iferror:{{#expr:{{{size|24}}}+0}}|[[Category:ERROR]]|}}}}</includeonly><noinclude> | + | }}.png}}}|x{{{size|24}}}px{{#if:{{{link|}}}|{{!}}link={{{link}}}}}|{{ucfirst:{{{alt|{{{1|}}}}}}}}]]</div>{{#if:{{#ifeq:{{{2}}}|crit|¬}}{{#ifeq:{{{3}}}|crit|¬}}|</div></div>{{#iferror:{{#expr:{{{size|24}}}+0}}|[[Category:ERROR]]|}}}}</includeonly><noinclude> |
{{doc begin}}{{TOC float|right}} | {{doc begin}}{{TOC float|right}} | ||
Used to display Robot icons on mission pages. | Used to display Robot icons on mission pages. | ||
For displaying non-robot classes, please use {{tl|Icon class}}. | For displaying non-robot classes, please use {{tl|Icon class}}. | ||
+ | For custom icons, please use <code>|custom-icon=File:my custom icon.png</code> rather than adding more icons to the list. | ||
== Examples == | == Examples == | ||
*{{tlx|Robot icon|Pyro}} produces {{Robot icon|Pyro}} | *{{tlx|Robot icon|Pyro}} produces {{Robot icon|Pyro}} | ||
Line 546: | Line 554: | ||
*{{tlx|Robot icon|Heavy|crit}} produces {{Robot icon|Heavy|crit}} | *{{tlx|Robot icon|Heavy|crit}} produces {{Robot icon|Heavy|crit}} | ||
*{{tlx|Robot icon|Heavy|giant|crit}} produces {{Robot icon|Heavy|giant|crit}} | *{{tlx|Robot icon|Heavy|giant|crit}} produces {{Robot icon|Heavy|giant|crit}} | ||
+ | *{{tlx|Robot icon|2=custom-icon=File:Leaderboard class heavy shotgun infinite.png}} produces {{Robot icon|custom-icon=File:Leaderboard class heavy shotgun infinite.png}} | ||
{| class="grid" | {| class="grid" | ||
Line 573: | Line 582: | ||
:{{Robot icon|major crits}} Major Crits = <tt>major crits</tt> | :{{Robot icon|major crits}} Major Crits = <tt>major crits</tt> | ||
− | '''Note for Mission Makers that use<br> this page as a reference for robot icon names:<br>Rapid Fire Soldier's icon filename in-game is actually<br> named <tt>soldier_spammer</tt | + | '''Note for Mission Makers that use<br> this page as a reference for robot icon names:<br>Rapid Fire Soldier's icon filename in-game is actually<br> named <tt>soldier_spammer</tt>, while Burst Fire Soldier's <br>icon is named <tt>soldier_burstfire</tt>.''' |
=== Pyro based === | === Pyro based === |
Latest revision as of 18:19, 29 June 2023
Documentation for Robot icon
Used to display Robot icons on mission pages.
For displaying non-robot classes, please use {{Icon class}}
.
For custom icons, please use |custom-icon=File:my custom icon.png
rather than adding more icons to the list.
Examples
{{Robot icon|Pyro}}
produces{{Robot icon|Scout|giant}}
produces{{Robot icon|soldier spammer|size=40}}
produces{{Robot icon|demoman|link=Demoman}}
produces{{Robot icon|Soldier|alt=Rocket Launcher}}
produces{{Robot icon|Heavy|crit}}
produces{{Robot icon|Heavy|giant|crit}}
produces{{Robot icon|custom-icon=File:Leaderboard class heavy shotgun infinite.png}}
produces
Scout based
Soldier based
Note for Mission Makers that use Pyro based
Demoman based
|
Heavy based
Engineer based
Medic based
Sniper based
Spy based
Special
|