Module:Rings

-- local p = {}

local Shared = require(Module:Shared)

function p.statTable local Rings	= mw.loadData(Module:Rings/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('Level'):done :tag('th'):wikitext('Effects'):done :tag('th'):wikitext('Gear Score'):done :tag('th'):wikitext('Source'):done :tag('th'):wikitext('BOP'):done :tag('th'):wikitext('Resource'):done :done for name, Ring in Shared.skpairs(Rings) do       tableNode:tag('tr') :tag('td'):wikitext(..name..):done :tag('td'):wikitext(Ring.Tier):done :tag('td'):wikitext(Ring.Level):done :tag('td'):wikitext(Ring.Effects):done :tag('td'):wikitext(Ring.GearScore):done :tag('td'):wikitext(Ring.Source):done :tag('td'):wikitext(Ring.BOP):done :tag('td'):wikitext(Ring.Resource):done :done end

return tostring(tableNode:allDone) end

return p --