Module:StonecuttingDowngrade

-- local p = {}

local Shared = require(Module:Shared)

function p.statTable local StoneDown	= mw.loadData(Module:Stonecutting/data) local tableNode	= mw.html.create('table') :addClass('sortable article-table sticky-header') :css('width', '100%') :css('text-align', 'center') :tag('tr') :tag('th'):wikitext('Name'):done :tag('th'):wikitext('Tier'):done :tag('th'):wikitext('Category'):done :tag('th'):wikitext('Resources'):done :tag('th'):wikitext('Yield'):done :tag('th'):wikitext('Station Level'):done :tag('th'):wikitext('Skill Level'):done :tag('th'):wikitext('Crafting Exp'):done :done for name, StoneDown in Shared.skpairs(StoneDown) do       tableNode:tag('tr') :tag('td'):wikitext(..name..):done :tag('td'):wikitext(StoneDown.DTier):done :tag('td'):wikitext(StoneDown.DCategory):done :tag('td'):wikitext(StoneDown.DResources):done :tag('td'):wikitext(StoneDown.DYield):done :tag('td'):wikitext(StoneDown.DStationLVL):done :tag('td'):wikitext(StoneDown.DSkillLevel):done :tag('td'):wikitext(StoneDown.DCraftingXP):done :done end

return tostring(tableNode:allDone) end

return p --