Minecraft Wiki
Advertisement
Ceci est la page de documentation, elle devrait être incluse dans le page principale du modèle. Voir Modèle:Documentation pour plus d'informations
Lua logo
Ce modèle utilise Module:Alchimie, un programme écrit en Lua.
Voir wp:Lua et mw:Extension:Scribunto pour plus d'informations.

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 Modèle:Tl, except it creates the table for you.

By default, the table generates with 3 columns: nom, ingrédients, and the main column containing Modèle:Tl. You can set the parameter {{{affichernom=1}}} or {{{affichernom=0}}} in the first template of the table to show or hide the nom column. To group multiple crafting templates into one table, you also need to set {{{haut=1}}} in the first template of the table, and {{{bas=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:

{{Alchimie
  |haut=1
  |Ghast Tear
  |Potion of Regeneration
}}
{{Alchimie
  |nom=Splash [[Potions]]
  |ingrédients=[[Gunpowder]] +<br>Any [[Potion]]
  |Gunpowder
  |Splash Potion of Regeneration;Splash Potion of Fire Resistance;Splash Potion of Strength
}}
{{Alchimie
  |nom=Increases Duration
  |showbase=1
  |Redstone
  |base=Potion of Regeneration
}}
{{Alchimie
  |à venir=1.7
  |bas=1
  |Redstone
  |Potion of Water Breathing
}}

produces:

Nom Ingrédients Alchimie
Potion of Regeneration Ghast Tear +
Potion étrange

[[Ghast Tear|



[[Potion of Regeneration|

Splash Potions Gunpowder +
Any Potion

[[Gunpowder|



[[Splash Potion of Regeneration|
[[Splash Potion of Fire Resistance|
[[Splash Potion of Strength|

Increases Duration Redstone +
Potion of Regeneration







Potion of Water Breathing
(1.7)
Redstone +
Potion étrange





[[Potion of Water Breathing|

Advertisement