Difference between revisions of "Template:Blueprint"

From Team Fortress Wiki
Jump to: navigation, search
m (pro proofreading)
m
 
(3 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
       |{{#if:{{{result-6|}}}| result-6 | null}} = {{{result-6|}}}
 
       |{{#if:{{{result-6|}}}| result-6 | null}} = {{{result-6|}}}
 
       |{{#if:{{{result-7|}}}| result-7 | null}} = {{{result-7|}}}}}
 
       |{{#if:{{{result-7|}}}| result-7 | null}} = {{{result-7|}}}}}
}}<noinclude>
+
}}<noinclude>{{Documentation}}</noinclude>
== Usage ==
 
<pre>
 
{{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 =
 
}}
 
</pre>
 
 
 
===<code>autoresult</code>===
 
Setting <code>autoresult</code> to a "class slot", for example <code>autoresult = Soldier primary</code>, will automatically generate the blueprint for that slot with the correct slot token, class token, and possible results.
 
 
 
You can add automatic crafting recipes to {{tl|Dictionary/blueprints}}.
 
 
 
[[Category:Formatting templates|Blueprint]]</noinclude>
 

Latest revision as of 15:03, 7 February 2023

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

Template documentation [view] [edit] [history] [purge]

Arguments

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

autoresult

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

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

Examples

{{Blueprint
| ingredient-1 = Kritzkrieg
| ingredient-2 = Bonk! Atomic Punch
| result = Crit-a-Cola
}}

produces

Kritzkrieg Bonk! Atomic Punch Crit-a-Cola
Item icon Kritzkrieg.png + Item icon Bonk! Atomic Punch.png = Item icon Crit-a-Cola.png
{{Blueprint
| autoresult = Scout secondary
}}

produces

Class Token - Scout Slot Token - Secondary Scrap Metal Possible Results
Item icon Class Token - Scout.png + Item icon Slot Token - Secondary.png + Item icon Scrap Metal.png =
Item icon Bonk! Atomic Punch.png Item icon Crit-a-Cola.png Item icon Mad Milk.png Item icon Winger.png
Item icon Pretty Boy's Pocket Pistol.png Item icon Flying Guillotine.png
{{Blueprint
| ingredient-1 = Reclaimed Metal
| ingredient-1-amount = 2
| ingredient-2 = Flare Gun
| result = Detonator
}}

produces

Reclaimed Metal Flare Gun Detonator
Item icon Reclaimed Metal.pngx2 + Item icon Flare Gun.png = Item icon Detonator.png
{{Blueprint/core
| setname = special delivery
| ingredient-1 = Refined Metal
| ingredient-1-amount = 4
| ingredient-2 = Shortstop
| ingredient-2-2 = Mad Milk
| ingredient-2-3 = Holy Mackerel
| result = Milkman
}}

produces

Refined Metal Special Delivery weapon Milkman
Item icon Refined Metal.pngx4 + Item icon Shortstop.pngItem icon Mad Milk.pngItem icon Holy Mackerel.png = Item icon Milkman.png
{{Blueprint/core
| ingredient-1 = Refined Metal
| ingredient-1-amount = 4
| ingredient-2 = Baby Face's Blaster
| ingredient-2-2 = Pretty Boy's Pocket Pistol
| result = Fed-Fightin' Fedora
| result-2 = Dillinger's Duffel
}}

produces

Refined Metal Baby Face's Blaster Possible Results
Item icon Refined Metal.pngx4 + Item icon Baby Face's Blaster.png =
Item icon Fed-Fightin' Fedora.png Item icon Dillinger's Duffel.png