แม่แบบ:Brewing/doc

จาก Minecraft Wiki
ไปยังการนำทาง ไปยังการค้นหา
นี่คือหน้าคู่มือการใช้งาน ซึ่งควรถูกดึงไปที่ แม่แบบ:Brewing ดู แม่แบบ:Documentation สำหรับข้อมูลเพิ่มเติม
แม่แบบนี้ใช้ มอดูล:Brewing ซึ่งสคริปต์นี้เขียนด้วยภาษาลูอา

Using this template, you can create tables like those commonly used in the “Brewing ingredient” sections of articles about blocks and items. It can be used similarly to {{Grid/Brewing Stand}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Grid/Brewing Stand}}. You can set the parameter {{{showname=1}}} or {{{showname=0}}} in the first template of the table to show or hide the Name column. To group multiple crafting templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last.

The parameter {{{base=}}} can be set to change the base potion listing. It defaults to Awkward Potion.

The parameter {{{showbase=1}}} can be set to show the base potion in the potion slot instead of the output.

Example usage:

{{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: Inventory sprite for Ghast Tear in Minecraft as shown in-game linking to น้ำตาแก๊สต์ with description: น้ำตาแก๊สต์

Invicon Potion of Regeneration.png: Inventory sprite for Potion of Regeneration in Minecraft as shown in-game linking to น้ำยา with description: น้ำยาฟื้นฟูต่อเนื่อง ฟื้นฟูต่อเนื่อง (0:45)
Splash Potions Gunpowder +
Any Potion

Invicon Gunpowder.png: Inventory sprite for Gunpowder in Minecraft as shown in-game linking to ดินปืน with description: ดินปืน

Invicon Splash Potion of Regeneration.png: Inventory sprite for Splash Potion of Regeneration in Minecraft as shown in-game linking to น้ำยาแบบปา with description: น้ำยาฟื้นฟูต่อเนื่องแบบปา ฟื้นฟูต่อเนื่อง (0:45)Invicon Splash Potion of Fire Resistance.png: Inventory sprite for Splash Potion of Fire Resistance in Minecraft as shown in-game linking to น้ำยาแบบปา with description: น้ำยาทนไฟแบบปา ทนไฟ (3:00)Invicon Splash Potion of Strength.png: Inventory sprite for Splash Potion of Strength in Minecraft as shown in-game linking to น้ำยาแบบปา with description: น้ำยาโจมตีแรงแบบปา โจมตีแรง (3:00)
Increases Duration เรดสโตน +
น้ำยาฟื้นฟูต่อเนื่อง

Invicon Redstone.png: Inventory sprite for Redstone in Minecraft as shown in-game linking to เรดสโตน with description: เรดสโตน

Invicon Potion of Regeneration.png: Inventory sprite for Potion of Regeneration in Minecraft as shown in-game linking to น้ำยา with description: น้ำยาฟื้นฟูต่อเนื่อง ฟื้นฟูต่อเนื่อง (0:45)
น้ำยาหายใจใต้น้ำ เรดสโตน +
น้ำยาเจื่อน

Invicon Redstone.png: Inventory sprite for Redstone in Minecraft as shown in-game linking to เรดสโตน with description: เรดสโตน

Invicon Potion of Water Breathing.png: Inventory sprite for Potion of Water Breathing in Minecraft as shown in-game linking to น้ำยา with description: น้ำยาหายใจใต้น้ำ หายใจใต้น้ำ (3:00)