Difference between revisions of "Template:ShineLoadout"

From Team Fortress Wiki
Jump to: navigation, search
m (V2 Push. Made quite a few mistakes.)
m (V3. Hats/miscs not displaying. Last edit before bed.)
Line 1: Line 1:
<includeonly>{| class="wikitable" cellpadding="0px"
+
<noinclude>{{ShineLoadout
 +
| Scout_Hat = Troublemaker%27s 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
 +
}}</noinclude><includeonly>{| 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}}
 
| class="header" colspan="{{#expr:{{#if:{{{Soldier_Hat|}}}|1|0}}+{{#if:{{{Soldier_Misc|}}}|1|0}}+{{#if:{{{Soldier_Misc_2|}}}|1|0}}+3+{{#if:{{{Soldier_Action|}}}|1|0}}}}" style="height:22px;" align="center" | {{TF2B|Soldier}}
 
| class="header" colspan="{{#expr:{{#if:{{{Soldier_Hat|}}}|1|0}}+{{#if:{{{Soldier_Misc|}}}|1|0}}+{{#if:{{{Soldier_Misc_2|}}}|1|0}}+3+{{#if:{{{Soldier_Action|}}}|1|0}}}}" style="height:22px;" align="center" | {{TF2B|Soldier}}
 
| class="header" colspan="{{#expr:{{#if:{{{Pyro_Hat|}}}|1|0}}+{{#if:{{{Pyro_Misc|}}}|1|0}}+{{#if:{{{Pyro_Misc_2|}}}|1|0}}+3+{{#if:{{{Pyro_Action|}}}|1|0}}}}" style="height:22px;" align="center" | {{TF2B|Pyro}}
 
| class="header" colspan="{{#expr:{{#if:{{{Pyro_Hat|}}}|1|0}}+{{#if:{{{Pyro_Misc|}}}|1|0}}+{{#if:{{{Pyro_Misc_2|}}}|1|0}}+3+{{#if:{{{Pyro_Action|}}}|1|0}}}}" style="height:22px;" align="center" | {{TF2B|Pyro}}
 
|-<!--
 
|-<!--
-->{{#if:{{{Scout_Hat|}}}|{{!}}style="background:#{{ItemColor|{{{Scout_Hat_Quality}}}}};" {{!}} {{Icon item|item={{{Scout_Hat|Unknown}}}|icon-size=50x50px}}|}}<!--
+
-->{{#if:{{{Scout_Hat|}}}|{{!}} style="background:#{{ItemColor|{{{Scout_Hat_Quality}}}}};" {{!}} {{Icon item|item={{{Scout_Hat|Unknown}}}|icon-size=50x50px}}|}}<!--
-->{{#if:{{{Scout_Misc|}}}|{{!}}style="background:#{{ItemColor|{{{Scout_Misc_Quality}}}}};" {{!}} {{Icon item|item={{{Scout_Misc|Unknown}}}|icon-size=50x50px}}|}}<!--
+
-->{{#if:{{{Scout_Misc|}}}|{{!}} style="background:#{{ItemColor|{{{Scout_Misc_Quality}}}}};" {{!}} {{Icon item|item={{{Scout_Misc|Unknown}}}|icon-size=50x50px}}|}}<!--
-->{{#if:{{{Scout_Misc_2|}}}|{{!}}style="background:#{{ItemColor|{{{Scout_Misc_2_Quality}}}}};" {{!}} {{Icon item|item={{{Scout_Misc_2|Unknown}}}|icon-size=50x50px}}|}}
+
-->{{#if:{{{Scout_Misc_2|}}}|{{!}} style="background:#{{ItemColor|{{{Scout_Misc_2_Quality}}}}};" {{!}} {{Icon item|item={{{Scout_Misc_2|Unknown}}}|icon-size=50x50px}}|}}
 
| style="background:#{{ItemColor|{{{Scout_Primary_Quality}}}}};" | {{Icon item|item={{{Scout_Primary|Scattergun}}}|icon-size=50x50px}}
 
| style="background:#{{ItemColor|{{{Scout_Primary_Quality}}}}};" | {{Icon item|item={{{Scout_Primary|Scattergun}}}|icon-size=50x50px}}
 
| style="background:#{{ItemColor|{{{Scout_Secondary_Quality}}}}};" | {{Icon item|item={{{Scout_Secondary|Pistol}}}|icon-size=50x50px}}
 
| style="background:#{{ItemColor|{{{Scout_Secondary_Quality}}}}};" | {{Icon item|item={{{Scout_Secondary|Pistol}}}|icon-size=50x50px}}
Line 196: Line 204:
 
<br>| Spy_Melee_Quality =  
 
<br>| Spy_Melee_Quality =  
 
}}</code>
 
}}</code>
== Output ==<br>
+
== Output ==
 
{{ShineLoadout
 
{{ShineLoadout
 
| Scout_Hat = Troublemaker's Tossle Cap
 
| Scout_Hat = Troublemaker's Tossle Cap

Revision as of 04:22, 14 June 2012

Scout Soldier Pyro
Troublemaker%27s 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

Usage

Takes a lot of parameters. A lot of them.
Each parameter looks like this:
class_name_slot=value
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.

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 = Vintage
| Scout_Misc_Quality = Genuine
| Scout_Misc_2_Quality = Genuine
| Scout_Primary_Quality = Strange
| Scout_Secondary_Quality = Vintage
| Scout_Melee_Quality = Genuine
| Soldier_Hat = Lucky Shot
| Soldier_Misc = Kringle Collection
| Soldier_Misc_2 = Pocket Medic
| Soldier_Primary = Original
| Soldier_Secondary = Gunboats
| Soldier_Melee = Equalizer
| Soldier_Primary_Quality = Genuine
| Soldier_Secondary_Quality = Vintage
| Soldier_Melee_Quality = Strange
| Pyro_Hat = Triboniophorus Tyrannus
| Pyro_Misc = Last Breath
| Pyro_Primary = Degreaser
| Pyro_Secondary = Flare Gun
| Pyro_Melee = Axtinguisher
| Pyro_Action = High Five
| Pyro_Primary_Quality = Strange
| Pyro_Secondary_Quality = Strange
| Pyro_Melee_Quality = Strange
| Demoman_Hat = Sultan's Ceremonial
| Demoman_Misc = A Whiff of the Old Brimstone
| Demoman_Primary = Ali Baba's Wee Booties
| Demoman_Secondary = Splendid Screen
| Demoman_Melee = Persian Persuader
| Demoman_Melee_Quality = Strange
| Heavy_Hat =
| Heavy_Misc =
| Heavy_Misc_2 =
| Heavy_Primary =
| Heavy_Secondary =
| Heavy_Melee =
| Heavy_Action =
| Heavy_Hat_Quality =
| Heavy_Misc_Quality =
| Heavy_Misc_2_Quality =
| Heavy_Primary_Quality =
| Heavy_Secondary_Quality =
| Heavy_Melee_Quality =
| Engineer_Hat =
| Engineer_Misc =
| Engineer_Misc_2 =
| Engineer_Primary =
| Engineer_Secondary =
| Engineer_Melee =
| Engineer_Action =
| Engineer_Hat_Quality =
| Engineer_Misc_Quality =
| Engineer_Misc_2_Quality =
| Engineer_Primary_Quality =
| Engineer_Secondary_Quality =
| Engineer_Melee_Quality =
| Medic_Hat =
| Medic_Misc =
| Medic_Misc_2 =
| Medic_Primary =
| Medic_Secondary =
| Medic_Melee =
| Medic_Action =
| Medic_Hat_Quality =
| Medic_Misc_Quality =
| Medic_Misc_2_Quality =
| Medic_Primary_Quality =
| Medic_Secondary_Quality =
| Medic_Melee_Quality =
| Sniper_Hat =
| Sniper_Misc =
| Sniper_Misc_2 =
| Sniper_Primary =
| Sniper_Secondary =
| Sniper_Melee =
| Sniper_Action =
| Sniper_Hat_Quality =
| Sniper_Misc_Quality =
| Sniper_Misc_2_Quality =
| Sniper_Primary_Quality =
| Sniper_Secondary_Quality =
| Sniper_Melee_Quality =
| Spy_Hat =
| Spy_Misc =
| Spy_Misc_2 =
| Spy_Primary =
| Spy_Secondary =
| Spy_Melee =
| Spy_Action =
| Spy_Hat_Quality =
| Spy_Misc_Quality =
| Spy_Misc_2_Quality =
| Spy_Primary_Quality =
| Spy_Secondary_Quality =
| Spy_Melee_Quality = }}

Output

Scout Soldier Pyro
Troublemaker's Tossle Cap Planeswalker Goggles Ball-Kicking Boots Schadenfreude Scattergun Crit-a-Cola Three-Rune Blade Lucky Shot Kringle Collection Pocket Medic Original Gunboats Equalizer Triboniophorus Tyrannus Last Breath High Five Degreaser Flare Gun Axtinguisher
Demoman Heavy Engineer
Sultan's Ceremonial A Whiff of the Old Brimstone Ali Baba's Wee Booties Splendid Screen Persian Persuader File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png
Medic Sniper Spy
File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png File:Item icon .png