Difference between revisions of "Template:Blueprint/core"

From Team Fortress Wiki
Jump to: navigation, search
m (Added Romanian translation)
m (Use new "class" parameters on TF2B templates for class selector targeting)
 
Line 36: Line 36:
 
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{result}}}}}}}]]|Result}}}}
 
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{result}}}}}}}]]|Result}}}}
 
{{!}}-
 
{{!}}-
{{!}} [[File:Item icon {{{ingredient-1|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=22px|color=#292625}}}}
+
{{!}} [[File:Item icon {{{ingredient-1|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}
{{#if: {{{ingredient-2|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-2|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} {{#if:{{{setname|}}}|[[File:Item icon {{{ingredient-2}}}.png|text-bottom|50x50px|link={{{ingredient-2}}}{{if lang}}]][[File:Item icon {{{ingredient-2-2}}}.png|text-bottom|50x50px|link={{{ingredient-2-2}}}{{if lang}}]]{{#if:{{{ingredient-2-3|}}}|[[File:Item icon {{{ingredient-2-3}}}.png|text-bottom|50x50px|link={{{ingredient-2-3}}}{{if lang}}]]}}|[[File:Item icon {{{ingredient-2|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-2|}}}{{if lang}}]]{{#if: {{{ingredient-2-amount|}}}|{{TF2B|text=x{{{ingredient-2-amount}}}|size=22px|color=#292625}}}}}}
+
{{!}} {{#if:{{{setname|}}}|[[File:Item icon {{{ingredient-2}}}.png|text-bottom|50x50px|link={{{ingredient-2}}}{{if lang}}]][[File:Item icon {{{ingredient-2-2}}}.png|text-bottom|50x50px|link={{{ingredient-2-2}}}{{if lang}}]]{{#if:{{{ingredient-2-3|}}}|[[File:Item icon {{{ingredient-2-3}}}.png|text-bottom|50x50px|link={{{ingredient-2-3}}}{{if lang}}]]}}|[[File:Item icon {{{ingredient-2|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-2|}}}{{if lang}}]]{{#if: {{{ingredient-2-amount|}}}|{{TF2B|text=x{{{ingredient-2-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}}}
{{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[File:Item icon {{{ingredient-3|}}}.png|text-bottom|100x100px|link={{{ingredient-3|}}}{{if lang}}]]{{#if: {{{ingredient-3-amount|}}}|{{TF2B|text=x{{{ingredient-3-amount}}}|size=22px|color=#292625}}}}
+
{{!}} [[File:Item icon {{{ingredient-3|}}}.png|text-bottom|100x100px|link={{{ingredient-3|}}}{{if lang}}]]{{#if: {{{ingredient-3-amount|}}}|{{TF2B|text=x{{{ingredient-3-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}
{{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[File:Item icon {{{ingredient-4|}}}.png|text-bottom|100x100px|link={{{ingredient-4|}}}{{if lang}}]]{{#if: {{{ingredient-4-amount|}}}|{{TF2B|text=x{{{ingredient-4-amount}}}|size=22px|color=#292625}}}}
+
{{!}} [[File:Item icon {{{ingredient-4|}}}.png|text-bottom|100x100px|link={{{ingredient-4|}}}{{if lang}}]]{{#if: {{{ingredient-4-amount|}}}|{{TF2B|text=x{{{ingredient-4-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}
{{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[File:Item icon {{{ingredient-5|}}}.png|text-bottom|100x100px|link={{{ingredient-5|}}}{{if lang}}]]{{#if: {{{ingredient-5-amount|}}}|{{TF2B|text=x{{{ingredient-5-amount}}}|size=22px|color=#292625}}}}}}}}}}}}
+
{{!}} [[File:Item icon {{{ingredient-5|}}}.png|text-bottom|100x100px|link={{{ingredient-5|}}}{{if lang}}]]{{#if: {{{ingredient-5-amount|}}}|{{TF2B|text=x{{{ingredient-5-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}}}}}}}}}
{{!}} {{TF2B|text==|size=65px|color=#292625}}
+
{{!}} {{TF2B|text==|size=65px|color=#292625|class=blueprint-op}}
 
{{!}} {{#if: {{{result-2|}}}|
 
{{!}} {{#if: {{{result-2|}}}|
 
{{{!}} cellpadding="0" cellspacing="0"
 
{{{!}} cellpadding="0" cellspacing="0"
Line 67: Line 67:
 
{{!}} {{#if: {{{result-15|}}}|[[File: Item icon {{{result-15|Unknown}}}.png|text-top|50x50px|link={{{result-15|}}}{{if lang}}]]}}
 
{{!}} {{#if: {{{result-15|}}}|[[File: Item icon {{{result-15|Unknown}}}.png|text-top|50x50px|link={{{result-15|}}}{{if lang}}]]}}
 
{{!}} {{#if: {{{result-16|}}}|[[File: Item icon {{{result-16|Unknown}}}.png|text-top|50x50px|link={{{result-16|}}}{{if lang}}]]}}
 
{{!}} {{#if: {{{result-16|}}}|[[File: Item icon {{{result-16|Unknown}}}.png|text-top|50x50px|link={{{result-16|}}}{{if lang}}]]}}
{{!}}}|[[File:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625}}}}}}
+
{{!}}}|[[File:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625|class=blueprint-op}}}}}}
 
{{!}}-
 
{{!}}-
 
{{!}}}<noinclude>{{Documentation}}
 
{{!}}}<noinclude>{{Documentation}}
 
{{Translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hant, zh-hans|'''Partial Support:''' ar, fi, ko, no, pt, sv}}</noinclude>
 
{{Translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hant, zh-hans|'''Partial Support:''' ar, fi, ko, no, pt, sv}}</noinclude>

Latest revision as of 21:36, 14 December 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