Template:Recipe: Difference between revisions

Template page
Content added Content deleted
No edit summary
mNo edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox .skin-citizen-dark" style="width: 500px"
{| class="infobox .skin-citizen-dark"
| class="infobox-title" style="width: 33%" | Result
| class="infobox-title" style="width: 33%; padding-left: 10px; padding-right: 10px" | Result
| class="infobox-title" style="width: 33%" | Ingredients
| class="infobox-title" style="width: 33%; padding-left: 10px; padding-right: 10px" | Ingredients
| class="infobox-title" style="width: 33%" | Crafting Station
| class="infobox-title" style="width: 33%; padding-left: 10px; padding-right: 10px; white-space: nowrap;" | Crafting Station
|-
|-
| class="infobox-text" style="text-align: center" | {{{result|}}}
| colspan="3" style="height: 5px;" |
|-
| class="infobox-text" style="text-align: center" | {{{ingredients|}}}
| class="infobox-text" style="text-align: center" | {{{stations|}}}
| 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;" | {{#if: {{{item1|}}} | {{{qtt1|}}}x [[Image:Veloren_{{{item1|}}}.png|25px|link=]] [[{{{item1|}}}]], | }}
{{#if: {{{item2|}}} | {{{qtt2|}}}x [[Image:Veloren_{{{item2|}}}.png|25px|link=]] [[{{{item2|}}}]], | }}
{{#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;" |
|}
|}
<noinclude>
<noinclude>
Line 14: 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": "wiki-page-name",
"required": true
"required": true,
"suggested": true
},
},
"ingredients": {
"qttR": {
"label": "Quantity of the resulting craft. If Quantity=1, left the field empty.",
"label": "Ingredients",
"type": "number",
"description": "The name and amount of ingredients needed to craft the item.",
"required": true
"suggested": true
},
},
"stations": {
"item1": {
"label": "Crafting Station(s) needed",
"label": "Ingredient1",
"description": "The crafting station needed. If no station needed type None.",
"description": "name of the ingredient1",
"example": "Crafting Bench",
"example": "Dwarven Cheese",
"type": "wiki-file-name",
"type": "wiki-page-name",
"autovalue": "",
"suggested": true
"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 :",
"type": "number",
"suggested": true
},
"item3": {
"label": "Ingredient3",
"description": "name of the ingredient3",
"example": "Thick Leather",
"type": "wiki-page-name",
"suggested": true
},
"qtt3": {
"label": "Quantity of ingredient3 :",
"type": "number",
"suggested": true
},
"item4": {
"label": "Ingredient4",
"description": "name of the ingredient4",
"example": "Huge Raw Drumstick",
"type": "wiki-page-name"
},
"qtt4": {
"label": "Quantity of ingredient4 :",
"type": "number"
},
"item5": {
"label": "Ingredient5",
"description": "name of the ingredient5",
"example": "Strong Pincer"
},
"qtt5": {
"label": "Quantity of ingredient5 :",
"type": "number"
},
"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",
"qtt1",
"item1",
"qtt2",
"item2",
"qtt3",
"item3",
"qtt4",
"item4",
"qtt5",
"item5",
"station1",
"station2",
"station3"
]
}
}
</templatedata>
</templatedata>
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:19, 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
Page namerequired
Quantity of ingredient1 :qtt1

no description

Numbersuggested
Ingredient1item1

name of the ingredient1

Example
Dwarven Cheese
Page namesuggested
Quantity of ingredient2 :qtt2

no description

Numbersuggested
Ingredient2item2

name of the ingredient2

Example
Steel Ingot
Page namesuggested
Quantity of ingredient3 :qtt3

no description

Numbersuggested
Ingredient3item3

name of the ingredient3

Example
Thick Leather
Page namesuggested
Quantity of ingredient4 :qtt4

no description

Numberoptional
Ingredient4item4

name of the ingredient4

Example
Huge Raw Drumstick
Page nameoptional
Quantity of ingredient5 :qtt5

no description

Numberoptional
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.