模板:Recipe infobox:修订间差异

(创建页面,内容为“<includeonly> {{#if:{{NAMESPACE}}|| {{#cargo_store: _table=Recipes |recipename={{{recipename|}}} |ingredients={{{ingredients|}}} |catalysts={{{catalysts|}}} |requirementcost={{{requirementcost|}}} |image={{{image|}}} }}<!-- end cargo_store --> }}<!-- end ifeq:{{NAMESPACE}} --><div class="infobox item"><!-- START infobox --><div class="section images recipes"><!-- --><div class="title">Recipe</div><!-- --><ul><!-- --><li>File:{{…”)
 
(已保护“模板:Recipe infobox”([编辑=仅允许管理员](无限期)))
 
(未显示同一用户的9个中间版本)
第13行: 第13行:


--><div class="section images recipes"><!--
--><div class="section images recipes"><!--
     --><div class="title">[[Recipe]]</div><!--
     --><div class="title">[[Recipe|配方]]</div><!--
         --><ul><!--
         --><ul><!--
             --><li>[[File:{{{image|}}}]]</li><!--
             --><li>[[File:{{{image|}}}]]</li><!--
第33行: 第33行:
|image=File
|image=File
}}
}}


{{documentation}}
{{documentation}}

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
}}