Difference between revisions of "Template:ShineLoadout"
m (V17. Get ready for a lot of these. Sorry, IRC!) |
m (V18. Isolating the bug to occur between shovel and pyro hat.) |
||
Line 39: | Line 39: | ||
| style="background:#{{ItemColor|{{{Soldier_Primary_Quality|Stock}}}}};" | {{Icon item|item={{{Soldier_Primary|Rocket Launcher}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Soldier_Primary_Quality|Stock}}}}};" | {{Icon item|item={{{Soldier_Primary|Rocket Launcher}}}|icon-size=50x50px}} | ||
| style="background:#{{ItemColor|{{{Soldier_Secondary_Quality|Stock}}}}};" | {{Icon item|item={{{Soldier_Secondary|Shotgun}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Soldier_Secondary_Quality|Stock}}}}};" | {{Icon item|item={{{Soldier_Secondary|Shotgun}}}|icon-size=50x50px}} | ||
− | | 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_Misc|}}}|{{!}} style="background:#{{ItemColor|{{{Pyro_Misc_Quality}}}}};" {{!}} {{Icon item|item={{{Pyro_Misc|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}}|}} | {{#if:{{{Pyro_Misc_2|}}}|{{!}} style="background:#{{ItemColor|{{{Pyro_Misc_2_Quality}}}}};" {{!}} {{Icon item|item={{{Pyro_Misc_2|Unknown}}}|icon-size=50x50px}}|}} | ||
Line 113: | Line 112: | ||
Slot can be Hat, Misc, Misc_2, Primary, Secondary, Melee, or Action. <br> | Slot can be Hat, Misc, Misc_2, Primary, Secondary, Melee, or Action. <br> | ||
Note that Action does not have a quality value. <br> | Note that Action does not have a quality value. <br> | ||
− | == Example == | + | <!--== Example == |
<code><nowiki>{{ShineLoadout</nowiki> | <code><nowiki>{{ShineLoadout</nowiki> | ||
<br>| Scout_Hat = Troublemaker's Tossle Cap | <br>| Scout_Hat = Troublemaker's Tossle Cap | ||
Line 143: | Line 142: | ||
| Scout_Melee_Quality = Genuine | | Scout_Melee_Quality = Genuine | ||
}} | }} | ||
− | </noinclude> | + | --></noinclude> |
Revision as of 20:07, 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.