模板:Brewing/doc

語出Minecraft Wiki
跳至導覽 跳至搜尋
此乃案文,其應為置於模板:Brewing,閱模板:Documentation以膺詳訊。

版之所刻,Module:Brewing也有與焉。以盧倭鑄也。
詳請參閱《維基大典·盧倭》以及《MediaWiki·擴·Scribunto》

使用这个模板,可以创建类似于方块和物品条目中“酿造材料”章节中使用的表格。它的用法类似于{{Brewing Stand}},但这个模板创建的是一个表格。

默认情况下,表格会有3列:名称、材料和包含{{Brewing Stand}}的烧炼配方。可以将{{{showname}}}设为1或0来显示或隐藏名称列。要将多个烧炼模板放入一个表格中时,在第一个模板中设置{{{head}}}为1,在最后一个模板中设置{{{foot}}}为1。

参数{{{base}}}用来设置基础药水,默认为粗制的药水。

{{{showbase}}}设为1可以将基础药水而不是输出的药水显示在药水槽中。

示例

{{Brewing
  |head=1
  |Ghast Tear
  |Potion of Regeneration
}}
{{Brewing
  |name=Splash Potions
  |ingredients=Gunpowder +<br>Any Potion
  |Gunpowder
  |Splash Potion of Regeneration;Splash Potion of Fire Resistance;Splash Potion of Strength
}}
{{Brewing
  |name=Increases Duration
  |showbase=1
  |Redstone
  |base=Potion of Regeneration
}}
{{Brewing
  |upcoming=1.7
  |foot=1
  |Redstone
  |Potion of Water Breathing
}}

produces:

名称 材料 酿造配方
甦劑 惡靈淚 +
粗制的药水

[[|]]Invicon Ghast Tear.png:礦藝之Ghast Tear精靈圖,引自惡靈淚,述:惡靈淚

[[|]]Invicon Potion of Regeneration.gif:礦藝之Potion of Regeneration精靈圖,引自藥劑,述:甦劑 生命恢复 (0:45)
Splash Potions Gunpowder +
Any Potion

[[|]]Invicon Gunpowder.png:礦藝之Gunpowder精靈圖,引自火藥,述:火藥

[[|]]Invicon Splash Potion of Regeneration.gif:礦藝之Splash Potion of Regeneration精靈圖,引自噴劑,述:甦噴劑 生命恢复 (0:45)Invicon Splash Potion of Fire Resistance.gif:礦藝之Splash Potion of Fire Resistance精靈圖,引自噴劑,述:抗火之噴劑 防火 (3:00)Invicon Splash Potion of Strength.gif:礦藝之Splash Potion of Strength精靈圖,引自噴劑,述:力噴劑 力量 (3:00)
Increases Duration 紅石末 +
甦劑

[[|]]Invicon Redstone.png:礦藝之Redstone精靈圖,引自紅石末,述:紅石末

[[|]]Invicon Potion of Regeneration.gif:礦藝之Potion of Regeneration精靈圖,引自藥劑,述:甦劑 生命恢复 (0:45)
水肺劑
1.7
紅石末 +
粗制的药水

[[|]]Invicon Redstone.png:礦藝之Redstone精靈圖,引自紅石末,述:紅石末

[[|]]Invicon Potion of Water Breathing.gif:礦藝之Potion of Water Breathing精靈圖,引自藥劑,述:水肺劑 水下呼吸 (3:00)