模板:Recipe infobox:修订间差异

无编辑摘要
(已保护“模板:Recipe infobox”([编辑=仅允许管理员](无限期)))
 
(未显示同一用户的1个中间版本)
第4行: 第4行:
_table=Recipes
_table=Recipes
|recipename={{{recipename|}}}
|recipename={{{recipename|}}}
|ingredients={{{ingredients|}}}
|catalysts={{{catalysts|}}}
|requirementcost={{{requirementcost|}}}
|requirementcost={{{requirementcost|}}}
|image={{{image|}}}
}}<!--  end cargo_store -->
}}<!--  end cargo_store -->
}}<!--  end ifeq:{{NAMESPACE}}
}}<!--  end ifeq:{{NAMESPACE}}
第25行: 第28行:
_table=Recipes
_table=Recipes
|recipename=String (mandatory)
|recipename=String (mandatory)
|ingredients=List (,) of String
|catalysts=List (,) of String
|requirementcost=String
|requirementcost=String
|image=File
}}
}}



2024年4月3日 (三) 16:18的最新版本

此模板定义表格“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
}}