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 {{Grid/Brewing Stand}}, except it creates the table for you.
By default, the table generates with 3 columns: nom, ingrédients, and the main column containing {{Grid/Brewing Stand}}. 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 {{{afficherbase=1}}} can be set to show the base potion in the potion slot instead of the output.
Example usage:
{{Alchimie
|haut=1
|Larme de Ghast
|Potion de régénération
}}
{{Alchimie
|nom=[[Potions]] jetables
|ingrédients=[[Poudre à canon]] +<br>Toute [[potion]]
|Poudre à canon
|Potion de régénération jetable;Potion de résistance au feu jetable;Potion de force jetable
}}
{{Alchimie
|nom=Augmente la durée
|afficherbase=1
|Redstone
|base=Potion de régénération
}}
{{Alchimie
|à venir=1.7
|bas=1
|Redstone
|Potion de respiration aquatique
}}
produces:
| Nom | Ingrédients | Alchimie |
|---|---|---|
| Potion de régénération | Larme de Ghast + Potion étrange |
|
| Potions jetables | Poudre à canon + Toute potion |
|
| Augmente la durée | Redstone + Potion de régénération |
|
| Potion de respiration aquatique (1.7) |
Redstone + Potion étrange |