Difference between revisions of "Template:Blueprint/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (Copied translation switching from core)
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ru, sv, tr, zh-hant, zh-hans|'''Partial Support:''' ar, fi, ko, no, pt, sv}}
 
 
== Arguments ==
 
== Arguments ==
 
<pre>
 
<pre>
 
{{Blueprint
 
{{Blueprint
 
| autoresult =
 
| autoresult =
| setname =
 
 
| ingredient-1 =
 
| ingredient-1 =
 +
| ingredient-1-amount =
 
| ingredient-2 =
 
| ingredient-2 =
 +
| ingredient-2-amount =
 
| ingredient-3 =
 
| ingredient-3 =
 +
| ingredient-3-amount =
 
| ingredient-4 =
 
| ingredient-4 =
 +
| ingredient-4-amount =
 
| ingredient-5 =
 
| ingredient-5 =
 +
| ingredient-5-amount =
 +
| ingredient-6 =
 +
| ingredient-6-amount =
 
| result =
 
| result =
 
| result-2 =
 
| result-2 =
Line 107: Line 112:
 
| result-2 = Dillinger's Duffel
 
| result-2 = Dillinger's Duffel
 
}}
 
}}
[[Category:Formatting templates|Blueprint]]
+
 
 +
[[Category:Template documentation]]
 +
[[Category:Formatting templates]]

Latest revision as of 15:00, 7 February 2023

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