Difference between revisions of "Template:Blueprint"
Moussekateer (talk | contribs) (new implementation) |
m |
||
(37 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | {{#if: {{{autoresult|}}}|{{dictionary/blueprints/{{lc:{{{autoresult|}}}}}}}|{{Blueprint/core |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|{{#if:{{{ingredient-1|}}}| ingredient-1 | null}} = {{{ingredient-1|}}} | |{{#if:{{{ingredient-1|}}}| ingredient-1 | null}} = {{{ingredient-1|}}} | ||
|{{#if:{{{ingredient-2|}}}| ingredient-2 | null}} = {{{ingredient-2|}}} | |{{#if:{{{ingredient-2|}}}| ingredient-2 | null}} = {{{ingredient-2|}}} | ||
Line 53: | Line 6: | ||
|{{#if:{{{ingredient-5|}}}| ingredient-5 | null}} = {{{ingredient-5|}}} | |{{#if:{{{ingredient-5|}}}| ingredient-5 | null}} = {{{ingredient-5|}}} | ||
|{{#if:{{{ingredient-6|}}}| ingredient-6 | null}} = {{{ingredient-6|}}} | |{{#if:{{{ingredient-6|}}}| ingredient-6 | null}} = {{{ingredient-6|}}} | ||
+ | |{{#if:{{{ingredient-1-amount|}}}| ingredient-1-amount | null}} = {{{ingredient-1-amount|}}} | ||
+ | |{{#if:{{{ingredient-2-amount|}}}| ingredient-2-amount | null}} = {{{ingredient-2-amount|}}} | ||
+ | |{{#if:{{{ingredient-3-amount|}}}| ingredient-3-amount | null}} = {{{ingredient-3-amount|}}} | ||
+ | |{{#if:{{{ingredient-4-amount|}}}| ingredient-4-amount | null}} = {{{ingredient-4-amount|}}} | ||
+ | |{{#if:{{{ingredient-5-amount|}}}| ingredient-5-amount | null}} = {{{ingredient-5-amount|}}} | ||
+ | |{{#if:{{{ingredient-6-amount|}}}| ingredient-6-amount | null}} = {{{ingredient-6-amount|}}} | ||
|{{#if:{{{result|}}}| result | null}} = {{{result|}}} | |{{#if:{{{result|}}}| result | null}} = {{{result|}}} | ||
|{{#if:{{{result-2|}}}| result-2 | null}} = {{{result-2|}}} | |{{#if:{{{result-2|}}}| result-2 | null}} = {{{result-2|}}} | ||
Line 58: | Line 17: | ||
|{{#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-6|}}}| result-6 | null}} = {{{result-6|}}} |
− | + | |{{#if:{{{result-7|}}}| result-7 | null}} = {{{result-7|}}}}} | |
− | + | }}<noinclude>{{Documentation}}</noinclude> | |
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | | result- | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | }} | ||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:03, 7 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 | + | = |
|