Anonymous

Module:Calculator/AgilityObstacle: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 305: Line 305:
local tbl = mw.html.create("table")
local tbl = mw.html.create("table")
       :addClass("wikitable stickyheader")
       :addClass("wikitable stickyheader")
     
   
     tbl :tag('tr')
     local thr = tbl:tag('tr')
:tag('th'):wikitext('Slot')
    thr:tag('th'):wikitext('Slot')
:tag('th'):wikitext('Obstacle')
thr:tag('th'):wikitext('Obstacle')
if showbonus then
if showbonus then
tbl:tag('th'):wikitext('Bonuses')
thr:tag('th'):wikitext('Bonuses')
end
end
if showrequirements then
if showrequirements then
tbl:tag('th'):wikitext('Requirements')
thr:tag('th'):wikitext('Requirements')
end
end
if showcosts then
if showcosts then
tbl:tag('th'):wikitext('Costs')
thr:tag('th'):wikitext('Costs')
end
end


2,875

edits