Difference between revisions of "Template:Blueprint"

From Team Fortress Wiki
Jump to: navigation, search
m (I'm assume that Valve fixed this already by now, so I'm going to remove it.)
m
Line 4: Line 4:
 
   | 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}}
 
   | 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}}
 
   | 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}}
 
   | 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}}
   | 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 = Sun-on-a-Stick | result-5 = Candy Cane | result-6 = Fan O'War}}
+
   | 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 = Sun-on-a-Stick | result-5 = Candy Cane | result-6 = Fan O'War | result-7 = Three-Rune Blade}}
  
 
<!-- Soldier token recipes -->
 
<!-- Soldier token recipes -->
Line 65: Line 65:
 
       |{{#if:{{{result-4|}}}| result-4 | null}} = {{{result-4|}}}
 
       |{{#if:{{{result-4|}}}| result-4 | null}} = {{{result-4|}}}
 
       |{{#if:{{{result-5|}}}| result-5 | null}} = {{{result-5|}}}
 
       |{{#if:{{{result-5|}}}| result-5 | null}} = {{{result-5|}}}
       |{{#if:{{{result-6|}}}| result-6 | null}} = {{{result-6|}}}}}
+
      |{{#if:{{{result-5|}}}| result-5 | null}} = {{{result-6|}}}
 +
       |{{#if:{{{result-6|}}}| result-6 | null}} = {{{result-7|}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
== Usage ==
 
== Usage ==
Line 82: Line 83:
 
| result-5 =
 
| result-5 =
 
| result-6 =
 
| result-6 =
 +
| result-7 =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 23:47, 19 May 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.