Template:SmithingTable: Difference between revisions

From Melvor Idle
(New automatic version of Smithing template)
 
No edit summary
Line 1: Line 1:
Lua-powered template for generating Smithing crafting tables. Used primarily on the {{Skill|Smithing}} page.
Lua-powered template for generating Smithing crafting tables. Used primarily on the {{Skill|Smithing}} page.


Syntax is {{T|SmithingTable|BarType}}, so for example {{T|SmithingTable|Bronze Bar}} gives:
Syntax is {{T|SmithingTable|BarType}}, so for example {{T|SmithingTable|Bronze Gear}} gives the below result.
{{SmithingTable|Bronze Bar}}


You can also pass in 'Smelting' to get the bar list.
You can also pass in 'Bars' to get the bar list.
{{SmithingTable|Bronze Gear}}


<includeonly><onlyinclude>{{#invoke:Skills|getSmithingTable|{{{1|}}}}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{#invoke:Skills|getSmithingTable|{{{1|}}}}}</onlyinclude></includeonly>

Revision as of 20:44, 25 October 2022

Lua-powered template for generating Smithing crafting tables. Used primarily on the Smithing page.

Syntax is {{SmithingTable|BarType}}, so for example {{SmithingTable|Bronze Gear}} gives the below result.

You can also pass in 'Bars' to get the bar list. Script error: The function "getSmithingTable" does not exist.