Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
[查看 | 編輯 | 歷史 | 清除緩存]文件頁面
Lua logo.svg

此模板使用了模組:Grinding,此腳本使用Lua編寫。
更多詳情,請參閱維基百科:LuaMediaWiki:擴展:Scribunto

您可以使用該模板建立使用砂輪修復武器或工具的表格。該模板的使用方法與{{Grindstone}}相似,不同之處在於它會為您建立表格。

預設情況下,該模板所生成的表格包含3列:名稱、材料和包含{{Grindstone}}的主列。您可以透過設定參數{{{showname=1}}}{{{showname=0}}}來選擇是否顯示「名稱」一列。想要將多個砂輪配方的表格合併為一個,您還需要在第一個和最後一個模板內分別設定參數{{{head=1}}}{{{foot=1}}}

示例用法:

{{Grinding
  |head=1
  |showdescription=1
  |ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword
  |Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword
  |description=The durability of the two swords is added together, plus an extra 5% durability.
}}
{{Grinding
  |ingredients=2x Damaged Elytra
  |Damaged Elytra
  |Damaged Elytra
  |Elytra
  |description=The durability of the two elytra pairs are added together, plus an extra 5% durability.
  |foot=1
}}

結果:

名稱 材料 砂輪配方 描述
木劍
石劍
鐵劍
金劍
鑽石劍
2x Damaged Wooden Sword or
2x Damaged Stone Sword or
2x Damaged Iron Sword or
2x Damaged Golden Sword or
2x Damaged Diamond Sword
The durability of the two swords is added together, plus an extra 5% durability.
鞘翅 2x Damaged Elytra
The durability of the two elytra pairs are added together, plus an extra 5% durability.
Advertisement