模板:Recipe infobox:修订间差异

无编辑摘要
无编辑摘要
第5行: 第5行:
|recipename={{{recipename|}}}
|recipename={{{recipename|}}}
|requirementcost={{{requirementcost|}}}
|requirementcost={{{requirementcost|}}}
|image={{{image|}}}
}}<!--  end cargo_store -->
}}<!--  end cargo_store -->
}}<!--  end ifeq:{{NAMESPACE}}
}}<!--  end ifeq:{{NAMESPACE}}
第27行: 第26行:
|recipename=String (mandatory)
|recipename=String (mandatory)
|requirementcost=String
|requirementcost=String
|image=File
}}
}}



2024年3月21日 (四) 16:35的版本

此模板定义表格“Recipes”。 查看表格.


Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Usage

Available parameters:

{{Recipe infobox
|recipename=
|ingredients=
|catalysts=
|requirementcost=
|image=
}}

Examples

Recipe without catalysts

{{Recipe infobox
|recipename=Rainbow Goobert Megasludge Alphapuddle
|ingredients=Goobert, Blood Goobert, Light Goobert, Carrot Goobert, Steel Goobert
|requirementcost=68 (6+15+18+12+17)
|image=RainbowGoobertMegasludgeAlphapuddle_recipe.png
}}

Recipe with catalysts

{{Recipe infobox
|recipename=Strong Vampiric Potion
|ingredients=Vampiric Potion
|catalysts=Cauldron
|requirementcost=18 (8+10)
|image=StrongVampiricPotion_transform.png
}}

Multiple Recipes

{{Recipe infobox
|recipename=Strong Health Potion
|ingredients=Health Potion, Healing Herbs
|requirementcost=8 (4+4)
|image=StrongHealthPotion_recipe.png
}}
{{Recipe infobox
|recipename=Strong Health Potion
|ingredients=Health Potion
|catalysts=Cauldron
|requirementcost=14 (4+10)
|image=StrongHealthPotion_transform.png
}}

Multiple Recipes with Line Break

Line breaks cause infoboxes to split, and generates an empty line (below this line).


{{Recipe infobox
|recipename=Strong Health Potion
|ingredients=Health Potion, Healing Herbs
|requirementcost=8 (4+4)
|image=StrongHealthPotion_recipe.png
}}

{{Recipe infobox
|recipename=Strong Health Potion
|ingredients=Health Potion
|catalysts=Cauldron
|requirementcost=14 (4+10)
|image=StrongHealthPotion_transform.png
}}

Item with Recipe

Burning Coal
BurningCoal.png
介绍
稀有度Rare
种类GemstoneFire
花费2
描述

Example

在商店吗No
范围

Cell.png

{{Item infobox
|name=Burning Coal
|image=BurningCoal.png
|rarity=Rare
|type=Gemstone, Fire
|cost=2
|effect=Example
|inshop=No
|grid=1
}}
{{Recipe infobox
|recipename=Burning Coal
|ingredients=Lump of Coal
|catalysts=Fire
|requirementcost=
|image=BurningCoal_transform.png
}}