Template:Recipe/doc
跳转到导航
跳转到搜索
- 概要
這個資料夾是用來製作標準配方,會自動以連結/圖示輸出。列表中物品名稱,必須使用圖片和相關文章連結的命名,這樣才會自動選到正確的圖片和文章連結(如果英文圖片搭配中文標題的文章頁面,會有無法同步的缺點)。
- 用法
- 完整語法:
{{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 | ![]() | ![]() ![]() |
- 如果配方有限定於某個特定的資料片(例如:《多人版饑荒》):
{{Recipe|item1=Twigs|count1=3|item2=Rocks|count2=3|item3=Cut Grass|count3=6|result=Hammer|dlc=Reign of Giants}}
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ×6 | ![]() | ![]() ![]() | ![]() |
- 如果配方有限定於某個特定的角色:
{{Recipe|item1=Papyrus|count1=2|item2=Egg|count2=2|result=Birds of the World|character=Wickerbottom}}
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() | ![]() ![]() | ![]() |
- 兩個限定圖示可以同時使用:
{{Recipe|item1=Boards|count1=1|item2=Seashell|count2=2|result=Surfboard|character=Walani|dlc=Shipwrecked}}
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() | ![]() ![]() | ![]() | ![]() |
分类:
- 模板