Module:Amulets

-- local p = {}

local Shared = require(Module:Shared)

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

return tostring(tableNode:allDone) end

return p --