模板:Recipe
跳转到导航
跳转到搜索
- 概要
这个资料夹是用来制作标准配方,会自动以连结/图示输出。列表中物品名称,必须使用图片和相关文章连结的命名,这样才会自动选到正确的图片和文章连结(如果英文图片搭配中文标题的文章页面,会有无法同步的缺点)。
- 用法
- 完整语法:
{{Recipe|item1=|count1=|item2=|count2=|item3=|count3=|result=}}
- 基本用法如下:
{{Recipe|item=Cut Grass|result=Rope}}
- 同样的物品总共需要三个的话,请这样写:
{{Recipe|item=Cut Grass|count=3|result=Rope}}
- 也可以用乘法来表示数量,如果同一个物品需要很多件的话:
{{Recipe|item=Cut Grass|count=12|result=Straw Hat}}
×12 |
- 多数配方需要用到两种以上的物品:
{{Recipe|item1=Twigs|item2=Flint|result=Axe}}
- 且多数配方需要超过一个以上的数量:
{{Recipe|item1=Twigs|item2=Cut Grass|count2=2|result=Torch}}
- 本资料夹(Template文件)可支援三件物品(游戏中使用最多的配方):
{{Recipe|item1=Crow Feather|count1=3|item2=Crimson Feather|count2=2|item3=Tentacle Spots|count3=2|result=Feather Hat}}
- 编辑页面时如果需要写到很多不同配方的话,为了避免凌乱,
你可以在语法后面多加一个 |small=yes ,如下:
{{Recipe|item1=Crow Feather|count1=3|item2=Crimson Feather|count2=2|item3=Tentacle Spots|count3=2|result=Feather Hat|small=yes}}
- 也可以用来具体指明,以下是一个需要火源来煮熟 的物品(↓多了营火的图示):
{{Recipe|item=Corn|result=Popcorn|fire=yes}}
- 也可以用来具体指明,以下是干肉架晒干后的肉品:
{{Recipe|item=Meat|result=Jerky|dry=yes}}
{{Recipe|item=Corn|result=Corn Seeds|bird=yes}}
- 也可以说明这是烹饪锅食谱:
{{Recipe|item1=Eggplant|item2=Carrot|item3=Seeds|item4=Seeds|result=Stuffed Eggplant|pot=yes}}
- 现在我们可以像这样,用图示,简单地表达烹饪锅食谱(问号可自行放入需要的图):
{{Recipe|item1=Meats|item2=Filler|count2=3|result=Meatballs|pot=yes}}
1 或 + 肉 |
或
{{Recipe|item1=Vegetables|count1=4|result=Ratatouille|pot=yes}}
×4 |
分类:
- 模板