FANDOM


Interface arrow right
Template documentation [檢視] [編輯] [歷史] [刷新]
概要

這個資料夾是用來製作標準配方,會自動以連結/圖示輸出。列表中物品名稱,必須使用圖片和相關文章連結的命名,這樣才會自動選到正確的圖片和文章連結(如果英文圖片搭配中文標題的文章頁面,會有無法同步的缺點)。

用法
  • 完整語法:{{Recipe|item1=|count1=|item2=|count2=|item3=|count3=|result=}}
  • 基本用法如下:
{{Recipe|item=Cut Grass|result=Rope}}
Inventory slot backgroundCut GrassInterface arrow rightInventory slot backgroundRope
  • 同樣的物品總共需要三個的話,請這樣寫:
{{Recipe|item=Cut Grass|count=3|result=Rope}}
Inventory slot backgroundCut GrassInventory slot backgroundCut GrassInventory slot backgroundCut GrassInterface arrow rightInventory slot backgroundRope
  • 也可以用乘法來表示數量,如果同一個物品需要很多件的話:
{{Recipe|item=Cut Grass|count=12|result=Straw Hat}}
Inventory slot backgroundCut Grass

×12

Interface arrow rightInventory slot backgroundStraw Hat
  • 多數配方需要用到兩種以上的物品:
{{Recipe|item1=Twigs|item2=Flint|result=Axe}}
Inventory slot backgroundTwigsInventory slot background FlintInterface arrow rightInventory slot backgroundAxe
  • 且多數配方需要超過一個以上的數量:
{{Recipe|item1=Twigs|item2=Cut Grass|count2=2|result=Torch}}
Inventory slot backgroundTwigsInventory slot background Cut GrassInventory slot background Cut GrassInterface arrow rightInventory slot backgroundTorch
  • 本資料夾(Template文件)可支援三件物品(遊戲中使用最多的配方):
{{Recipe|item1=Crow Feather|count1=3|item2=Crimson Feather|count2=2|item3=Tentacle Spots|count3=2|result=Feather Hat}}
Inventory slot backgroundCrow FeatherInventory slot backgroundCrow FeatherInventory slot backgroundCrow FeatherInventory slot background Crimson FeatherInventory slot background Crimson FeatherInventory slot backgroundTentacle SpotsInventory slot backgroundTentacle SpotsInterface arrow rightInventory slot backgroundFeather Hat
  • 編輯頁面時如果需要寫到很多不同配方的話,為了避免凌亂,
    你可以在語法後面多加一個 |small=yes ,如下:
{{Recipe|item1=Crow Feather|count1=3|item2=Crimson Feather|count2=2|item3=Tentacle Spots|count3=2|result=Feather Hat|small=yes}}
Inventory slot backgroundCrow FeatherInventory slot backgroundCrow FeatherInventory slot backgroundCrow FeatherInventory slot background Crimson FeatherInventory slot background Crimson FeatherInventory slot backgroundTentacle SpotsInventory slot backgroundTentacle SpotsInterface arrow rightInventory slot backgroundFeather Hat
  • 也可以用來具體指明,以下是一個需要火源來煮熟 的物品(↓多了營火的圖示):
{{Recipe|item=Corn|result=Popcorn|fire=yes}}
Inventory slot backgroundCornFire PitInventory slot backgroundPopcorn
  • 也可以用來具體指明,以下是乾肉架曬乾後的肉品:
{{Recipe|item=Meat|result=Jerky|dry=yes}}
Inventory slot backgroundMeatDrying RackInventory slot backgroundJerky
{{Recipe|item=Corn|result=Corn Seeds|bird=yes}}
Inventory slot backgroundCornBirdcageInventory slot backgroundCorn Seeds
{{Recipe|item1=Eggplant|item2=Carrot|item3=Seeds|item4=Seeds|result=Stuffed Eggplant|pot=yes}}
Inventory slot backgroundEggplantInventory slot background CarrotInventory slot backgroundSeedsInventory slot backgroundSeedsCrock PotInventory slot backgroundStuffed Eggplant
  • 現在我們可以像這樣,用圖示,簡單地表達烹飪鍋食譜(問號可自行放入需要的圖):
{{Recipe|item1=Meats|item2=Filler|count2=3|result=Meatballs|pot=yes}}
Inventory slot backgroundMeatsInventory slot background PlaceholderInventory slot background PlaceholderInventory slot background PlaceholderCrock PotInventory slot backgroundMeatballs1 或 +

{{Recipe|item1=Vegetables|count1=4|result=Ratatouille|pot=yes}}
Inventory slot backgroundVegetables

×4

Crock PotInventory slot backgroundRatatouille


除了特别提示,社区内容遵循CC-BY-SA 授权许可。