Template:Recipe: Difference between revisions

Template page
Content added Content deleted
m (1 revision imported)
mNo edit summary
Line 6: Line 6:
| colspan="3" style="height: 5px;" |
| colspan="3" style="height: 5px;" |
|-
|-
| class="infobox-text" style="text-align: center; white-space: nowrap; padding-left: 10px; padding-right: 10px" | {{{result|}}}
| class="infobox-text" style="text-align: center; white-space: nowrap; padding-left: 10px; padding-right: 10px" | {{#if: {{{qttR|}}} | {{{qttR|}}}x | }} [[File:Veloren_{{{result|}}}.png|40px|link=]] [[{{{result|}}}]]
| class="infobox-text" style="text-align: left; padding-left: 10px; padding-right: 10px; white-space: nowrap;" | {{{ingredients|}}}
| class="infobox-text" style="text-align: left; padding-left: 10px; padding-right: 10px; white-space: nowrap;" | {{#if: {{{item1|}}} | {{{qtt1|}}}x [[Image:Veloren_{{{item1|}}}.png|25px|link=]] [[{{{item1|}}}]], | }}
{{#if: {{{item2|}}} | {{{qtt2|}}}x [[Image:Veloren_{{{item2|}}}.png|25px|link=]] [[{{{item2|}}}]], | }}
| class="infobox-text" style="text-align: center; padding-left: 10px; padding-right: 10px" | {{{stations|}}}
{{#if: {{{item3|}}} | {{{qtt3|}}}x [[Image:Veloren_{{{item3|}}}.png|25px|link=]] [[{{{item3|}}}]], | }}
{{#if: {{{item4|}}} | {{{qtt4|}}}x [[Image:Veloren_{{{item4|}}}.png|25px|link=]] [[{{{item4|}}}]], | }}
{{#if: {{{item5|}}} | {{{qtt5|}}}x [[Image:Veloren_{{{item5|}}}.png|25px|link=]] [[{{{item5|}}}]] | }}
| class="infobox-text" style="text-align: center; padding-left: 10px; padding-right: 10px" |
{{#if: {{{station1|}}} | [[Image:Veloren_{{{station1|}}}.png|50px|link=]] [[{{{station1|}}}]] | }}
{{#if: {{{station2|}}} | [[Image:Veloren_{{{station2|}}}.png|50px|link=]] [[{{{station2|}}}]] | }}
{{#if: {{{station3|}}} | [[Image:Veloren_{{{station3|}}}.png|50px|link=]] [[{{{station3|}}}]] | }}
|-
|-
| colspan="3" style="height: 5px;" |
| colspan="3" style="height: 5px;" |
Line 18: Line 25:
"result": {
"result": {
"label": "Result",
"label": "Result",
"description": "The image and name of the resulting craft.",
"description": "name of the resulting craft.",
"example": "Medium Potion",
"example": "Medium Potion",
"type": "unknown",
"type": "unknown",
"required": true
},
"ingredients": {
"label": "Ingredients",
"description": "The name and amount of ingredients needed to craft the item.",
"required": true
"required": true
},
},
Line 35: Line 37:
"autovalue": "",
"autovalue": "",
"suggested": true
"suggested": true
},
"qttR": {
"label": "Quantity of the resulting craft. If Quantity=1, left the field empty.",
"type": "number",
"suggested": true
},
"item1": {
"label": "Ingredient1",
"description": "name of the ingredient1",
"example": "Dwarven Cheese",
"type": "wiki-page-name",
"suggested": true
},
"qtt1": {
"label": "Quantity of ingredient1 :",
"type": "number",
"suggested": true
},
"item2": {
"label": "Ingredient2",
"description": "name of the ingredient2",
"example": "Steel Ingot",
"type": "wiki-page-name",
"suggested": true
},
"qtt2": {
"label": "Quantity of ingredient2 :"
},
"item3": {
"label": "Ingredient3",
"description": "name of the ingredient3",
"example": "Thick Leather",
"type": "wiki-page-name",
"suggested": true
},
"qtt3": {
"label": "Quantity of ingredient3 :"
},
"item4": {
"label": "Ingredient4",
"description": "name of the ingredient4",
"example": "Huge Raw Drumstick",
"type": "wiki-page-name"
},
"qtt4": {
"label": "Quantity of ingredient4 :"
},
"item5": {
"label": "Ingredient5",
"description": "name of the ingredient5",
"example": "Strong Pincer"
},
"qtt5": {
"label": "Quantity of ingredient5 :"
},
"station1": {
"label": "Required station/tool 1 for crafting the recipe",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"station2": {
"label": "Required station/tool 2 for crafting the recipe",
"type": "wiki-page-name",
"suggested": true
},
"station3": {
"label": "Required station/tool 3 for crafting the recipe",
"type": "wiki-page-name"
}
}
}
},
"paramOrder": [
"qttR",
"result",
"stations",
"qtt1",
"item1",
"qtt2",
"item2",
"qtt3",
"item3",
"qtt4",
"item4",
"qtt5",
"item5",
"station1",
"station2",
"station3"
]
}
}
</templatedata>
</templatedata>

Revision as of 16:05, 24 September 2022

Result Ingredients Crafting Station
File:Veloren .png [[]]




No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Quantity of the resulting craft. If Quantity=1, left the field empty.qttR

no description

Numbersuggested
Resultresult

name of the resulting craft.

Example
Medium Potion
Unknownrequired
Crafting Station(s) neededstations

The crafting station needed. If no station needed type None.

Example
Crafting Bench
Auto value
Filesuggested
Quantity of ingredient1 :qtt1

no description

Numbersuggested
Ingredient1item1

name of the ingredient1

Example
Dwarven Cheese
Page namesuggested
Quantity of ingredient2 :qtt2

no description

Unknownoptional
Ingredient2item2

name of the ingredient2

Example
Steel Ingot
Page namesuggested
Quantity of ingredient3 :qtt3

no description

Unknownoptional
Ingredient3item3

name of the ingredient3

Example
Thick Leather
Page namesuggested
Quantity of ingredient4 :qtt4

no description

Unknownoptional
Ingredient4item4

name of the ingredient4

Example
Huge Raw Drumstick
Page nameoptional
Quantity of ingredient5 :qtt5

no description

Unknownoptional
Ingredient5item5

name of the ingredient5

Example
Strong Pincer
Unknownoptional
Required station/tool 1 for crafting the recipestation1

no description

Page namerequired
Required station/tool 2 for crafting the recipestation2

no description

Page namesuggested
Required station/tool 3 for crafting the recipestation3

no description

Page nameoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.