Difference between revisions of "Template:Blueprint"

From Team Fortress Wiki
Jump to: navigation, search
m (ah)
(da, dis vil vork)
Line 1: Line 1:
{{#switch: {{lc:{{{autoresult|}}}}}
+
{{#if: {{{autoresult|}}}|{{dictionary/blueprints/{{lc:{{{autoresult|}}}}}}}|{{Blueprint/core
 
 
<!-- Scout token recipes -->
 
  | scout primary = {{Blueprint/core| ingredient-1 = Class Token - Scout | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Shortstop | result-2 = Force-A-Nature | result-3 = Soda Popper}}
 
  | scout secondary = {{Blueprint/core| ingredient-1 = Class Token - Scout | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Bonk! Atomic Punch | result-2 = Crit-a-Cola | result-3 = Mad Milk | result-4 = Winger}}
 
  | scout melee = {{Blueprint/core| ingredient-1 = Class Token - Scout | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Sandman | result-2 = Holy Mackerel | result-3 = Boston Basher | | result-4 = Candy Cane | result-5 = Fan O'War | result-6 = Three-Rune Blade | result-7 = Atomizer}}
 
 
 
<!-- Soldier token recipes -->
 
  | soldier primary = {{Blueprint/core| ingredient-1 = Class Token - Soldier | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Direct Hit | result-2 = Black Box | result-3 = Rocket Jumper | result-4 = Liberty Launcher | result-5 = Cow Mangler 5000}}
 
  | soldier secondary = {{Blueprint/core| ingredient-1 = Class Token - Soldier | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Buff Banner | result-2 = Gunboats | result-3 = Battalion's Backup | result-4 = Concheror | result-5 = Mantreads | result-6 = Reserve Shooter | result-7 = Righteous Bison}}
 
  | soldier melee = {{Blueprint/core| ingredient-1 = Class Token - Soldier | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Equalizer | result-2 = Pain Train | result-3 = Half-Zatoichi | result-4 = Disciplinary Action | result-5 = Market Gardener}}
 
 
 
<!-- Pyro token recipes -->
 
  | pyro primary = {{Blueprint/core| ingredient-1 = Class Token - Pyro | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Backburner | result-2 = Degreaser}}
 
  | pyro secondary = {{Blueprint/core| ingredient-1 = Class Token - Pyro | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Flare Gun | result-2 = Detonator}}
 
  | pyro melee = {{Blueprint/core| ingredient-1 = Class Token - Pyro | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Axtinguisher | result-2 = Homewrecker | result-3 = Back Scratcher | result-4 = Powerjack | result-5 = Maul | result-6 = Postal Pummeler}}
 
 
 
<!-- Demoman token recipes -->
 
  | demoman primary = {{Blueprint/core| ingredient-1 = Class Token - Demoman | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Scottish Resistance | result-2 = Chargin' Targe | result-3 = Sticky Jumper | result-4 = Splendid Screen}}
 
  | demoman secondary = {{Blueprint/core| ingredient-1 = Class Token - Demoman | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Loch-n-Load | result-2 = Ali Baba's Wee Booties}}
 
  | demoman melee = {{Blueprint/core| ingredient-1 = Class Token - Demoman | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Eyelander | result-2 = Scotsman's Skullcutter | result-3 = Ullapool Caber | result-4 = Claidheamh Mòr | result-5 = Pain Train | result-6 = Half-Zatoichi | result-7 = Persian Persuader | result-8 = Nessie's Nine Iron}}
 
 
 
<!-- Heavy token recipes -->
 
  | heavy primary = {{Blueprint/core| ingredient-1 = Class Token - Heavy | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Natascha | result-2 = Brass Beast | result-3 = Tomislav}}
 
  | heavy secondary = {{Blueprint/core| ingredient-1 = Class Token - Heavy | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Sandvich | result-2 = Dalokohs Bar | result-3 = Buffalo Steak Sandvich | result-4 = Family Business}}
 
  | heavy melee = {{Blueprint/core| ingredient-1 = Class Token - Heavy | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Killing Gloves of Boxing | result-2 = Gloves of Running Urgently | result-3 = Warrior's Spirit | result-4 = Fists of Steel | result-5 = Eviction Notice}}
 
 
 
<!-- Engineer token recipes -->
 
  | engineer primary = {{Blueprint/core| ingredient-1 = Class Token - Engineer | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Frontier Justice}}
 
  | engineer secondary = {{Blueprint/core| ingredient-1 = Class Token - Engineer | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Wrangler}}
 
  | engineer melee = {{Blueprint/core| ingredient-1 = Class Token - Engineer | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Gunslinger | result-2 = Southern Hospitality | result-3 = Jag}}
 
 
 
<!-- Medic token recipes -->
 
  | medic primary = {{Blueprint/core| ingredient-1 = Class Token - Medic | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Blutsauger | result-2 = Crusader's Crossbow | result-3 = Overdose}}
 
  | medic secondary = {{Blueprint/core| ingredient-1 = Class Token - Medic | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Kritzkrieg | result-2 = Quick-Fix}}
 
  | medic melee = {{Blueprint/core| ingredient-1 = Class Token - Medic | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Übersaw | result-2 = Vita-Saw | result-3 = Amputator | result-4 = Solemn Vow}}
 
 
 
<!-- Sniper token recipes -->
 
  | sniper primary = {{Blueprint/core| ingredient-1 = Class Token - Sniper | ingredient-2 = Slot Token - Primary | ingredient-3 = Scrap Metal | result = Huntsman | result-2 = Sydney Sleeper | result-3 = Bazaar Bargain}}
 
  | sniper secondary = {{Blueprint/core| ingredient-1 = Class Token - Sniper | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Jarate | result-2 = Razorback | result-3 = Darwin's Danger Shield}}
 
  | sniper melee = {{Blueprint/core| ingredient-1 = Class Token - Sniper | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Tribalman's Shiv | result-2 = Bushwacka | result-3 = Shahanshah}}
 
 
 
<!-- Spy token recipes -->
 
  | spy pda
 
  | spy pda2 = {{Blueprint/core| ingredient-1 = Class Token - Spy | ingredient-2 = Slot Token - PDA2 | ingredient-3 = Scrap Metal | result = Cloak and Dagger | result-2 = Dead Ringer}}
 
  | spy secondary = {{Blueprint/core| ingredient-1 = Class Token - Spy | ingredient-2 = Slot Token - Secondary | ingredient-3 = Scrap Metal | result = Ambassador | result-2 = L'Etranger | result-3 = Enforcer}}
 
  | spy melee = {{Blueprint/core| ingredient-1 = Class Token - Spy | ingredient-2 = Slot Token - Melee | ingredient-3 = Scrap Metal | result = Your Eternal Reward | result-2 = Conniver's Kunai | result-3 = Big Earner}}
 
 
 
  | #default = {{Blueprint/core
 
 
       |{{#if:{{{ingredient-1|}}}| ingredient-1 | null}} = {{{ingredient-1|}}}
 
       |{{#if:{{{ingredient-1|}}}| ingredient-1 | null}} = {{{ingredient-1|}}}
 
       |{{#if:{{{ingredient-2|}}}| ingredient-2 | null}} = {{{ingredient-2|}}}
 
       |{{#if:{{{ingredient-2|}}}| ingredient-2 | null}} = {{{ingredient-2|}}}
Line 89: Line 41:
 
===<code>autoresult</code>===
 
===<code>autoresult</code>===
 
Setting <code>autoresult</code> to 'class slot', for example <code>autoresult = Soldier primary</code>, will automatically generate the blueprint for that slot with correct slot token, class token and possible results.
 
Setting <code>autoresult</code> to 'class slot', for example <code>autoresult = Soldier primary</code>, will automatically generate the blueprint for that slot with correct slot token, class token and possible results.
 +
 +
You can add automatic crafting recipes to {{tl|Dictionary/blueprints}}.
  
 
[[Category:Formatting templates|Blueprint]]</noinclude>
 
[[Category:Formatting templates|Blueprint]]</noinclude>

Revision as of 01:48, 30 July 2011

Ingredient 1 Result
Item icon Unknown.png = Item icon Unknown.png

Usage

{{Blueprint
| autoresult =
| ingredient-1 =
| ingredient-2 =
| ingredient-3 =
| ingredient-4 =
| ingredient-5 =
| result =
| result-2 =
| result-3 =
| result-4 =
| result-5 =
| result-6 =
| result-7 =
}}

autoresult

Setting autoresult to 'class slot', for example autoresult = Soldier primary, will automatically generate the blueprint for that slot with correct slot token, class token and possible results.

You can add automatic crafting recipes to {{Dictionary/blueprints}}.