Module:Calculator/AgilityObstacle: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 241: Line 241:
local courseRequirements = p.calculateCourse(obstacleNames, true)
local courseRequirements = p.calculateCourse(obstacleNames, true)


-- Todo: Add cost reduction?
local showTotals = args['showtotals'] or true
local showTotals = args['showtotals'] or true
local obstacleMastery = args['obstacleMastry'] or false


local tbl = mw.html.create("table")
local tbl = mw.html.create("table")
Line 267: Line 269:
tbl :tag('tr')
tbl :tag('tr')
:tag('th')
:tag('th')
:css('rowspan', 2)
:attr('rowspan', 2)
:wikitext('Totals')
:wikitext('Totals')
:tag('td')
:tag('td')
937

edits