Module:Bows

-- local p = {}

local Shared = require(Module:Shared)

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

return tostring(tableNode:allDone) end

return p --