Difference between revisions of "Template:ShineLoadout"

From Team Fortress Wiki
Jump to: navigation, search
m (WORK PLZ)
(FOUND YOU)
Line 68: Line 68:
 
-->style="background:#{{ItemColor|{{{Medic_Melee_Quality|Stock}}}}};" colspan="{{#expr:420/(3+{{#if:{{{Medic_Misc|}}}|1|0}}+{{#if:{{{Medic_Misc_2|}}}|1|0}}+{{#if:{{{Medic_Hat|}}}|1|0}}+{{#if:{{{Medic_Action|}}}|1|0}})}}" | {{Icon item|item={{{Medic_Melee|Bonesaw}}}|icon-size=50x50px}} ||<!---
 
-->style="background:#{{ItemColor|{{{Medic_Melee_Quality|Stock}}}}};" colspan="{{#expr:420/(3+{{#if:{{{Medic_Misc|}}}|1|0}}+{{#if:{{{Medic_Misc_2|}}}|1|0}}+{{#if:{{{Medic_Hat|}}}|1|0}}+{{#if:{{{Medic_Action|}}}|1|0}})}}" | {{Icon item|item={{{Medic_Melee|Bonesaw}}}|icon-size=50x50px}} ||<!---
  
-->|{{#if:{{{Sniper_Hat|}}}|style="background:#{{ItemColor|{{{Sniper_Hat_Quality|Unique}}}}};" colspan="{{#expr:420/(4+{{#if:{{{Sniper_Misc|}}}|1|0}}+{{#if:{{{Sniper_Misc_2|}}}|1|0}}+{{#if:{{{Sniper_Action|}}}|1|0}})}}" {{!}} {{Icon item|item={{{Sniper_Hat|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
+
-->{{#if:{{{Sniper_Hat|}}}|style="background:#{{ItemColor|{{{Sniper_Hat_Quality|Unique}}}}};" colspan="{{#expr:420/(4+{{#if:{{{Sniper_Misc|}}}|1|0}}+{{#if:{{{Sniper_Misc_2|}}}|1|0}}+{{#if:{{{Sniper_Action|}}}|1|0}})}}" {{!}} {{Icon item|item={{{Sniper_Hat|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Sniper_Misc|}}}|style="background:#{{ItemColor|{{{Sniper_Misc_Quality|Unique}}}}};" colspan="{{#expr:420/(4+{{#if:{{{Sniper_Hat|}}}|1|0}}+{{#if:{{{Sniper_Misc_2|}}}|1|0}}+{{#if:{{{Sniper_Action|}}}|1|0}})}}" {{!}} {{Icon item|item={{{Sniper_Misc|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Sniper_Misc|}}}|style="background:#{{ItemColor|{{{Sniper_Misc_Quality|Unique}}}}};" colspan="{{#expr:420/(4+{{#if:{{{Sniper_Hat|}}}|1|0}}+{{#if:{{{Sniper_Misc_2|}}}|1|0}}+{{#if:{{{Sniper_Action|}}}|1|0}})}}" {{!}} {{Icon item|item={{{Sniper_Misc|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Sniper_Misc_2|}}}|style="background:#{{ItemColor|{{{Sniper_Misc_2_Quality|Unique}}}}};" colspan="{{#expr:420/(4+{{#if:{{{Sniper_Hat|}}}|1|0}}+{{#if:{{{Sniper_Misc|}}}|1|0}}+{{#if:{{{Sniper_Action|}}}|1|0}})}}" {{!}} {{Icon item|item={{{Sniper_Misc_2|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--
 
-->{{#if:{{{Sniper_Misc_2|}}}|style="background:#{{ItemColor|{{{Sniper_Misc_2_Quality|Unique}}}}};" colspan="{{#expr:420/(4+{{#if:{{{Sniper_Hat|}}}|1|0}}+{{#if:{{{Sniper_Misc|}}}|1|0}}+{{#if:{{{Sniper_Action|}}}|1|0}})}}" {{!}} {{Icon item|item={{{Sniper_Misc_2|Unknown}}}|icon-size=50x50px}}{{!!}}|}}<!--

Revision as of 14:50, 20 July 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.

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