Template:Table/Enchanting/The Aether/doc

From Aether Project Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Shortcut
Lua.svg
This template uses Module:Enchanting A1, a script written in Lua.

Using this template, you can create tables like those commonly used in the “Enchanting” and “Enchanting ingredient” sections of articles about blocks and items.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing the recipe. 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 enchanting templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last.

You can change what is shown in the fuel slot by using the parameter {{{fuel}}}. It defaults to Any altar fuel

Example usage:

{{Enchanting-A1
  |head=1
  |Mod=The_Aether
  |Modaliases=Slot/Aliases/The_Aether
  |link=The_Aether/Enchanting{{!}}Enchanting
  |name={{A1|Enchanted Berry}}
  |ingredients={{A1|Blue Berry}} + <br> Any {{A1|altar fuel}}
  |Blue Berry
  |Enchanted Berry
  |0,35
}}

produces:

Name Ingredients Enchanting recipe
Enchanted Berry Blue Berry +
Any altar fuel


0.3512.5s