Difference between revisions of "Template:ShineLoadout"
(V24. Large overhaul, using imbedded tables. Works (GODDAMNIT DO!) maybe.) |
m (Pushing through... uh... V25? May create a /core page to "simplify" the template.) |
||
Line 1: | Line 1: | ||
− | + | {| class="wikitable" cellspacing="1px" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| class="wikitable" | ||
| class="header" colspan="3" style="height:22px;" align="center" | {{TF2B|Scout}} | | class="header" colspan="3" style="height:22px;" align="center" | {{TF2B|Scout}} | ||
|- | |- | ||
− | {{#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}} {{!}}}|}}<!-- |
− | {{#if:{{{Scout_Action|}}}|{{{!}}{{!}} style="background:#{{ItemColor|{{{Unique}}}}};" {{!}} {{Icon item|item={{{Scout_Action|Unknown}}}|icon-size=50x50px}} {{!}}}|}} | + | -->{{#if:{{{Scout_Action|}}}|{{{!}}{{!}} style="background:#{{ItemColor|{{{Unique}}}}};" {{!}} {{Icon item|item={{{Scout_Action|Unknown}}}|icon-size=50x50px}} {{!}}}|}} |
+ | {| cellspacing="1px" | ||
| style="background:#{{ItemColor|{{{Scout_Primary_Quality|Stock}}}}};" | {{Icon item|item={{{Scout_Primary|Scattergun}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Scout_Primary_Quality|Stock}}}}};" | {{Icon item|item={{{Scout_Primary|Scattergun}}}|icon-size=50x50px}} | ||
| style="background:#{{ItemColor|{{{Scout_Secondary_Quality|Stock}}}}};" | {{Icon item|item={{{Scout_Secondary|Pistol}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Scout_Secondary_Quality|Stock}}}}};" | {{Icon item|item={{{Scout_Secondary|Pistol}}}|icon-size=50x50px}} | ||
| style="background:#{{ItemColor|{{{Scout_Melee_Quality|Stock}}}}};" | {{Icon item|item={{{Scout_Melee|Bat}}}|icon-size=50x50px}} | | style="background:#{{ItemColor|{{{Scout_Melee_Quality|Stock}}}}};" | {{Icon item|item={{{Scout_Melee|Bat}}}|icon-size=50x50px}} | ||
|} | |} | ||
− | {| class="wikitable" | + | |} |
+ | {| class="wikitable" cellspacing="1px" | ||
| class="header" colspan="3" style="height:22px;" align="center" | {{TF2B|Soldier}} | | class="header" colspan="3" style="height:22px;" align="center" | {{TF2B|Soldier}} | ||
|- | |- | ||
− | {{#if:{{{Soldier_Hat|}}}|{{{!}}{{!}} style="background:#{{ItemColor|{{{Soldier_Hat_Quality}}}}};" {{!}} {{Icon item|item={{{Soldier_Hat|Unknown}}}|icon-size=50x50px}} {{!}}}|}} | + | |{{#if:{{{Soldier_Hat|}}}|{{{!}}{{!}} style="background:#{{ItemColor|{{{Soldier_Hat_Quality}}}}};" {{!}} {{Icon item|item={{{Soldier_Hat|Unknown}}}|icon-size=50x50px}} {{!}}}|}}<!-- |
− | {{#if:{{{Soldier_Misc|}}}|{{{!}}{{!}} style="background:#{{ItemColor|{{{Soldier_Misc_Quality}}}}};" {{!}} {{Icon item|item={{{Soldier_Misc|Unknown}}}|icon-size=50x50px}} {{!}}}|}} | + | -->{{#if:{{{Soldier_Misc|}}}|{{{!}}{{!}} style="background:#{{ItemColor|{{{Soldier_Misc_Quality}}}}};" {{!}} {{Icon item|item={{{Soldier_Misc|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_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}} {{!}}}|}} |
+ | {| cellspacing="1px" | ||
| 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}} | ||
|} | |} | ||
− | {| class="wikitable" | + | |} |
+ | {| class="wikitable" cellspacing="1px" | ||
| class="header" colspan="3" style="height:22px;" align="center" | {{TF2B|Pyro}} | | class="header" colspan="3" style="height:22px;" align="center" | {{TF2B|Pyro}} | ||
|- | |- | ||
− | {{#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|}}}|{{{!}}{{!}} 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}} {{!}}}|}}<!-- |
− | {{#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}} {{!}}}|}} |
+ | {| cellspacing="1px" | ||
| 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}} | ||
− | |} | + | |} |
+ | |} | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == |
Revision as of 21:36, 14 June 2012
Scout | |||
|
Soldier | |||
|
Pyro | |||
|
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 | ||||||||||