Content deleted Content added
why not root |
add all the newlines |
||
Line 109:
root:addClass('progression-rainbow')
:attr('role', 'presentation')
:newline()
root:tag('tr')
Line 114 ⟶ 115:
if class.count ~= 0 then
local percentage = class_percent(class.count, total)
-- I don't understand why we don't need to create a 'tr'. When
Line 132 ⟶ 133:
end
end
local remaining = percent_remaining(sum_classes, total)
Line 141 ⟶ 142:
:tag('span')
:wikitext(string.format('%s remaining', remaining))
end
return frame:extensionTag{
|