Difference between revisions of "Template:Recipe"
From Fallen Sword Wiki
Lusterless (Talk | contribs) |
|||
(9 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
'''Name:''' {{{name|{{PAGENAME}}}}}<br> | '''Name:''' {{{name|{{PAGENAME}}}}}<br> | ||
'''Type:''' [[:Category:Recipes|Recipe]]<br> | '''Type:''' [[:Category:Recipes|Recipe]]<br> | ||
− | '''Rarity:''' {{ | + | '''Rarity:''' {{ItemRarity|{{{rarity}}}}}<br> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}<br> | + | |
'''Success:''' {{{success|}}}<br> | '''Success:''' {{{success|}}}<br> | ||
{{#if: {{{level|}}} | '''Requires Level:''' {{{level}}}}} | {{#if: {{{level|}}} | '''Requires Level:''' {{{level}}}}} | ||
Line 31: | Line 22: | ||
== Items Required == | == Items Required == | ||
{| | {| | ||
− | {{# | + | {{#ifeq: {{{item-1-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-1-image|}}}|amount={{{item-1-amount|1}}}|item={{{item-1-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-2-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-2-image|}}}|amount={{{item-2-amount|1}}}|item={{{item-2-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-3-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-3-image|}}}|amount={{{item-3-amount|1}}}|item={{{item-3-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-4-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-4-image|}}}|amount={{{item-4-amount|1}}}|item={{{item-4-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-5-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-5-image|}}}|amount={{{item-5-amount|1}}}|item={{{item-5-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-6-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-6-image|}}}|amount={{{item-6-amount|1}}}|item={{{item-6-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-7-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-7-image|}}}|amount={{{item-7-amount|1}}}|item={{{item-7-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-8-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-8-image|}}}|amount={{{item-8-amount|1}}}|item={{{item-8-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-9-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-9-image|}}}|amount={{{item-9-amount|1}}}|item={{{item-9-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-10-name|0}}} | 0 |{{!end}} | {{RecipeItem|image={{{item-10-image|}}}|amount={{{item-10-amount|1}}}|item={{{item-10-name|}}}}} |
− | {{# | + | {{#ifeq: {{{item-10-name|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}}} |
| valign="top" align="left" width="50%" | | | valign="top" align="left" width="50%" | | ||
== Components Required == | == Components Required == | ||
{| | {| | ||
− | {{# | + | {{#ifeq: {{{component-1-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-1-image|}}}|amount={{{component-1-amount|1}}}|item={{{component-1-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-2-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-2-image|}}}|amount={{{component-2-amount|1}}}|item={{{component-2-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-3-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-3-image|}}}|amount={{{component-3-amount|1}}}|item={{{component-3-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-4-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-4-image|}}}|amount={{{component-4-amount|1}}}|item={{{component-4-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-5-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-5-image|}}}|amount={{{component-5-amount|1}}}|item={{{component-5-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-6-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-6-image|}}}|amount={{{component-6-amount|1}}}|item={{{component-6-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-7-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-7-image|}}}|amount={{{component-7-amount|1}}}|item={{{component-7-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-8-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-8-image|}}}|amount={{{component-8-amount|1}}}|item={{{component-8-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-9-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-9-image|}}}|amount={{{component-9-amount|1}}}|item={{{component-9-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-10-name|0}}} | 0 |{{!end}} | {{RecipeComponent|image={{{component-10-image|}}}|amount={{{component-10-amount|1}}}|item={{{component-10-name|}}}}} |
− | {{# | + | {{#ifeq: {{{component-10-name|0}}} | 0 ||{{!end}}}} }}}}}}}}}}}}}}}}}}}} |
|} | |} | ||
== Target Invention == | == Target Invention == |
Latest revision as of 13:54, 29 March 2022
Do not edit this page! |
If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. |
Editing this page may cause the template to stop working properly for other pages currently using this template. |
This template allows easy adding of item pages. To use, copy the following code to the recipe's page and fill in the banks. Remove anything that is extra. If a recipe cannot be completely represented by this template, please use the talk page to request alterations.
{{Recipe |image= |name= |rarity= |success= |level= |drops= |drops-2= |drops-3= |drops-4= |drops-5= |shop= |shop-2= |shop-3= |shop-4= |shop-5= |shop-price= |quest-rewarded= |won= |item-1-image= |item-1-name= |item-1-amount= |item-2-image= |item-2-name= |item-2-amount= |item-3-image= |item-3-name= |item-3-amount= |component-1-image= |component-1-name= |component-1-amount= |component-2-image= |component-2-name= |component-2-amount= |component-3-image= |component-3-name= |component-3-amount= |component-4-image= |component-4-name= |component-4-amount= |component-5-image= |component-5-name= |component-5-amount= |result-name= |result-image= }}
There are parameters for up to 10 items and components. Since shop prices remain constant, there are no alternate shop-price parameters.