Difference between revisions of "Template:ShineLoadout"
m (V21. Onwards, great bomb cart!) |
m (V22. Back to the weird edits again.) |
||
Line 1: | Line 1: | ||
+ | <noinclude>{{ShineLoadout | ||
+ | | Pyro_Hat = Killer Exclusive | ||
+ | | Pyro_Misc = Last Breath | ||
+ | | Pyro_Misc_2 = Earbuds | ||
+ | | Pyro_Action = High Five! | ||
+ | | Pyro_Primary = Degreaser | ||
+ | | Pyro_Secondary = Shotgun | ||
+ | | Pyro_Melee = Axtinguisher | ||
+ | }} | ||
+ | <br><br><br><br><br><br><br></noinclude> | ||
{| class="wikitable" cellpadding="0px" | {| class="wikitable" cellpadding="0px" | ||
| class="header" colspan="{{#expr:{{#if:{{{Scout_Hat|}}}|1|0}}+{{#if:{{{Scout_Misc|}}}|1|0}}+{{#if:{{{Scout_Misc_2|}}}|1|0}}+3+{{#if:{{{Scout_Action|}}}|1|0}}}}" style="height:22px;" align="center" | {{TF2B|Scout}} | | class="header" colspan="{{#expr:{{#if:{{{Scout_Hat|}}}|1|0}}+{{#if:{{{Scout_Misc|}}}|1|0}}+{{#if:{{{Scout_Misc_2|}}}|1|0}}+3+{{#if:{{{Scout_Action|}}}|1|0}}}}" style="height:22px;" align="center" | {{TF2B|Scout}} | ||
Line 20: | Line 30: | ||
| style="background:#{{ItemColor|{{{Soldier_Melee_Quality|Stock}}}}};" | {{Icon item|item={{{Soldier_Melee|Shovel}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Soldier_Melee_Quality|Stock}}}}};" | {{Icon item|item={{{Soldier_Melee|Shovel}}}|icon-size=50x50px}} | ||
<!-- | <!-- | ||
− | -->{{#if:{{{Pyro_Hat|}}}|{{!}} style="background:#{{ItemColor|{{{Pyro_Hat_Quality}}}}};" {{!}} {{Icon item|item={{{Pyro_Hat|Unknown}}}|icon-size=50x50px}} | + | -->{{#if:{{{Pyro_Hat|}}}|{{!}} style="background:#{{ItemColor|{{{Pyro_Hat_Quality}}}}};" {{!}} {{Icon item|item={{{Pyro_Hat|Unknown}}}|icon-size=50x50px}}|}} |
− | + | {{#if:{{{Pyro_Misc|}}}|{{!}} style="background:#{{ItemColor|{{{Pyro_Misc_Quality}}}}};" {{!}} {{Icon item|item={{{Pyro_Misc|Unknown}}}|icon-size=50x50px}}|}} | |
− | + | {{#if:{{{Pyro_Misc_2|}}}|{{!}} style="background:#{{ItemColor|{{{Pyro_Misc_2_Quality}}}}};" {{!}} {{Icon item|item={{{Pyro_Misc_2|Unknown}}}|icon-size=50x50px}}<br>|}}<!-- | |
-->{{#if:{{{Pyro_Action|}}}|{{!}} style="background:#{{ItemColor|Unique}};" {{!}} {{Icon item|item={{{Pyro_Action|Unknown}}}|icon-size=50x50px}}|}} | -->{{#if:{{{Pyro_Action|}}}|{{!}} style="background:#{{ItemColor|Unique}};" {{!}} {{Icon item|item={{{Pyro_Action|Unknown}}}|icon-size=50x50px}}|}} | ||
| style="background:#{{ItemColor|{{{Pyro_Primary_Quality|Stock}}}}};" | {{Icon item|item={{{Pyro_Primary|Flame Thrower}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Pyro_Primary_Quality|Stock}}}}};" | {{Icon item|item={{{Pyro_Primary|Flame Thrower}}}|icon-size=50x50px}} |
Revision as of 20:26, 14 June 2012
Scout | Soldier | Pyro | ||||||||||
Demoman | Heavy | Engineer | ||||||||||
Medic | Sniper | Spy | ||||||||||
Scout | Soldier | Pyro | ||||||
|
||||||||
Demoman | Heavy | Engineer | ||||||
Medic | Sniper | Spy | ||||||
Usage
Takes a lot of parameters. A lot of them.
Each parameter looks like this:
class name_slot=item name
Each parameter has a corresponding quality, e.g. (Scout_Misc_Primary_Quality). Use the item name (Genuine, Vintage, Strange, etc) to specify quality.
Class_name can be Scout, Soldier, Pyro, etc.
Slot can be Hat, Misc, Misc_2, Primary, Secondary, Melee, or Action.
Note that Action does not have a quality value.
Example
{{ShineLoadout
| Scout_Hat = Troublemaker's Tossle Cap
| Scout_Misc = Planeswalker Goggles
| Scout_Misc_2 = Ball-Kicking Boots
| Scout_Action = Schadenfreude
| Scout_Secondary = Crit-a-Cola
| Scout_Melee = Boston Basher
| Scout_Hat_Quality = Unusual
| Scout_Misc_Quality = Genuine
| Scout_Misc_2_Quality = Genuine
| Scout_Primary_Quality = Strange
| Scout_Secondary_Quality = Vintage
| Scout_Melee_Quality = Genuine
}}
Output
Scout | Soldier | Pyro | ||||||||||
Demoman | Heavy | Engineer | ||||||||||
Medic | Sniper | Spy | ||||||||||