Difference between revisions of "Template:ShineLoadout"

From Team Fortress Wiki
Jump to: navigation, search
m (Try dis! 27? 28? Something like that.)
m (28. Work, damn you!)
Line 16: Line 16:
 
-->{{#if:{{{Soldier_Misc_2|}}}|{{!}} style="background:#{{ItemColor|{{{Soldier_Misc_2_Quality}}}}};" {{!}} {{Icon item|item={{{Soldier_Misc_2|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Soldier_Misc_2|}}}|{{!}} style="background:#{{ItemColor|{{{Soldier_Misc_2_Quality}}}}};" {{!}} {{Icon item|item={{{Soldier_Misc_2|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Soldier_Action|}}}|{{!}} style="background:#{{ItemColor|Unique}};" {{!}} {{Icon item|item={{{Soldier_Action|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Soldier_Action|}}}|{{!}} style="background:#{{ItemColor|Unique}};" {{!}} {{Icon item|item={{{Soldier_Action|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
-->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}} ||<!--
  
Line 24: Line 24:
 
-->{{#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}}{{!!}}|}}<!--
 
-->{{#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}}||<!--
-->style="background:#{{ItemColor|{{{Pyro_Secondary_Quality|Stock}}}}};" | {{Icon item|item={{{Pyro_Secondary|Shotgun}}}|icon-size=50x50px}}<!--
+
-->style="background:#{{ItemColor|{{{Pyro_Secondary_Quality|Stock}}}}};" | {{Icon item|item={{{Pyro_Secondary|Shotgun}}}|icon-size=50x50px}}||<!--
 
-->style="background:#{{ItemColor|{{{Pyro_Melee_Quality|Stock}}}}};" | {{Icon item|item={{{Pyro_Melee|Fire Axe}}}|icon-size=50x50px}}
 
-->style="background:#{{ItemColor|{{{Pyro_Melee_Quality|Stock}}}}};" | {{Icon item|item={{{Pyro_Melee|Fire Axe}}}|icon-size=50x50px}}
 
|-
 
|-

Revision as of 22:48, 15 June 2012

Scout Soldier Pyro
Scattergun Pistol Bat Rocket Launcher Shotgun Shovel Flame Thrower Shotgun Fire Axe
Demoman Heavy Engineer
Grenade Launcher Stickybomb Launcher Bottle



Minigun Shotgun Fists



Shotgun Pistol Wrench
Medic Sniper Spy
Syringe_Gun Medi_Gun Bonesaw



Sniper Rifle SMG Kukri



Revolver Invisibility Watch Knife

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.
WARNING: For obscure technical reasons, this template will display improperly if each class does not have two of the following: Hats, Miscs, and Action items. Thus, 1 hat and 1 action item, or 2 miscs, or other such combinations are workable.

Example

{{ShineLoadout
| Scout_Hat = Troublemaker's Tossle Cap
| Scout_Misc = Planeswalker Goggles
| Scout_Misc_2 = Ball-Kicking Boots
| Scout_Primary = Scattergun
| Scout_Secondary = Crit-a-Cola
| Scout_Melee = Three-Rune Blade
| Scout_Action = Schadenfreude
| 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
Troublemaker's Tossle Cap Planeswalker Goggles Ball-Kicking Boots Schadenfreude Scattergun Crit-a-Cola Three-Rune Blade Rocket Launcher Shotgun Shovel Flame Thrower Shotgun Fire Axe
Demoman Heavy Engineer
Grenade Launcher Stickybomb Launcher Bottle Minigun Shotgun Fists Shotgun Pistol Wrench
Medic Sniper Spy
Syringe Gun Medi Gun Bonesaw Sniper Rifle SMG Kukri Revolver Invisibility Watch Knife