Anonymous

Template:SmithingTable: Difference between revisions

From Melvor Idle
no edit summary
(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>