Difference between revisions of "Template:Blueprint/core"
m (Link to shared doc with main template) |
GrampaSwood (talk | contribs) m (image > file) |
||
Line 35: | Line 35: | ||
}}|{{#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}}}} |
{{#if: {{{ingredient-2|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}} | {{#if: {{{ingredient-2|}}} |{{!}} {{TF2B|text=+|size=65px|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}}]]}}|[[ | + | {{!}} {{#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: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}} | {{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|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}}}} |
{{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}} | {{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|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}}}} |
{{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}} | {{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|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}}}}}}}}}}}} |
{{!}} {{TF2B|text==|size=65px|color=#292625}} | {{!}} {{TF2B|text==|size=65px|color=#292625}} | ||
{{!}} {{#if: {{{result-2|}}}| | {{!}} {{#if: {{{result-2|}}}| | ||
{{{!}} cellpadding="0" cellspacing="0" | {{{!}} cellpadding="0" cellspacing="0" | ||
− | {{!}} [[ | + | {{!}} [[File: Item icon {{{result|Unknown}}}.png|text-top|50x50px|link={{{result|}}}{{if lang}}]] |
− | {{!}} [[ | + | {{!}} [[File: Item icon {{{result-2|Unknown}}}.png|text-top|50x50px|link={{{result-2|}}}{{if lang}}]] |
− | {{!}} {{#if: {{{result-3|}}}|[[ | + | {{!}} {{#if: {{{result-3|}}}|[[File: Item icon {{{result-3|Unknown}}}.png|text-top|50x50px|link={{{result-3|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-4|}}}|[[ | + | {{!}} {{#if: {{{result-4|}}}|[[File: Item icon {{{result-4|Unknown}}}.png|text-top|50x50px|link={{{result-4|}}}{{if lang}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}} {{#if: {{{result-5|}}}|[[ | + | {{!}} {{#if: {{{result-5|}}}|[[File: Item icon {{{result-5|Unknown}}}.png|text-top|50x50px|link={{{result-5|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-6|}}}|[[ | + | {{!}} {{#if: {{{result-6|}}}|[[File: Item icon {{{result-6|Unknown}}}.png|text-top|50x50px|link={{{result-6|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-7|}}}|[[ | + | {{!}} {{#if: {{{result-7|}}}|[[File: Item icon {{{result-7|Unknown}}}.png|text-top|50x50px|link={{{result-7|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-8|}}}|[[ | + | {{!}} {{#if: {{{result-8|}}}|[[File: Item icon {{{result-8|Unknown}}}.png|text-top|50x50px|link={{{result-8|}}}{{if lang}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}} {{#if: {{{result-9|}}}|[[ | + | {{!}} {{#if: {{{result-9|}}}|[[File: Item icon {{{result-9|Unknown}}}.png|text-top|50x50px|link={{{result-9|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-10|}}}|[[ | + | {{!}} {{#if: {{{result-10|}}}|[[File: Item icon {{{result-10|Unknown}}}.png|text-top|50x50px|link={{{result-10|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-11|}}}|[[ | + | {{!}} {{#if: {{{result-11|}}}|[[File: Item icon {{{result-11|Unknown}}}.png|text-top|50x50px|link={{{result-11|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-12|}}}|[[ | + | {{!}} {{#if: {{{result-12|}}}|[[File: Item icon {{{result-12|Unknown}}}.png|text-top|50x50px|link={{{result-12|}}}{{if lang}}]]}} |
{{!}}- | {{!}}- | ||
− | {{!}} {{#if: {{{result-13|}}}|[[ | + | {{!}} {{#if: {{{result-13|}}}|[[File: Item icon {{{result-13|Unknown}}}.png|text-top|50x50px|link={{{result-13|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-14|}}}|[[ | + | {{!}} {{#if: {{{result-14|}}}|[[File: Item icon {{{result-14|Unknown}}}.png|text-top|50x50px|link={{{result-14|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-15|}}}|[[ | + | {{!}} {{#if: {{{result-15|}}}|[[File: Item icon {{{result-15|Unknown}}}.png|text-top|50x50px|link={{{result-15|}}}{{if lang}}]]}} |
− | {{!}} {{#if: {{{result-16|}}}|[[ | + | {{!}} {{#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}}}}}} |
{{!}}- | {{!}}- | ||
{{!}}}<noinclude>{{Template doc}}</noinclude> | {{!}}}<noinclude>{{Template doc}}</noinclude> |
Revision as of 16:52, 5 February 2023
Ingredient 1 | Result | |
= |
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 | ||
+ | = |
{{Blueprint | autoresult = Scout secondary }}
produces
Class Token - Scout | Slot Token - Secondary | Scrap Metal | Possible Results | |||||||||||||||||||
+ | + | = |
|
{{Blueprint | ingredient-1 = Reclaimed Metal | ingredient-1-amount = 2 | ingredient-2 = Flare Gun | result = Detonator }}
produces
Reclaimed Metal | Flare Gun | Detonator | ||
x2 | + | = |
{{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 | ||
x4 | + | = |
{{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 | ||||||||||||||||||
x4 | + | = |
|