Template:Smelting/doc: Difference between revisions
From TibiaCraft
Jump to navigationJump to search
Created page with "{{documentation header}} {{distinguish|Template:Fuel}} {{lua}} Using this template, you can create tables like those commonly used in the "Smelting" and "Smelting 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 <code><nowiki>{{{showname=1}}}</nowiki></code> or <code><nowiki>{{{showname=0}}}</nowiki></code> in the first template..." |
No edit summary |
||
| Line 2: | Line 2: | ||
{{distinguish|Template:Fuel}} | {{distinguish|Template:Fuel}} | ||
{{lua}} | {{lua}} | ||
{| class="wikitable" style="float:right; margin-left: 10px;" | |||
| Orange | |||
| Apple | |||
|- | |||
| Bread | |||
| Pie | |||
|- | |||
| Butter | |||
| Ice cream | |||
|} | |||
Using this template, you can create tables like those commonly used in the "Smelting" and "Smelting ingredient" sections of articles about blocks and items. | Using this template, you can create tables like those commonly used in the "Smelting" and "Smelting ingredient" sections of articles about blocks and items. | ||
Revision as of 01:02, 5 October 2025
[purge]
This is the documentation page. It should be transcluded into Template:Smelting. See Template:Documentation for more information.Not to be confused with Template:Fuel.
| Orange | Apple |
| Bread | Pie |
| Butter | Ice cream |
Using this template, you can create tables like those commonly used in the "Smelting" and "Smelting 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 smelting 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 fuel
Example usage:
{{Smelting
|head=1
|Raw Beef
|Steak
|0,35
}}
{{Smelting
|Wet Sponge
|Sponge
|0,15
}}
{{Smelting
|name=Easy fuel
|ingredients=[[Wood]]
|Any Wood
|Charcoal
|0,15
|fuel=Any Planks
|foot=1
}}
produces:
See also
Template:Recipe table see also