Content deleted Content added
swap to divs |
a list feels better |
||
Line 106:
end
local root = mw.html.create('
root:addClass('progression-rainbow')
Line 113:
local percentage = class_percent(class.count, total)
root:newline() -- sprinkled through to make the HTML easier to read
root:tag('
:css('background', frame:expandTemplate{
title = 'class/colour', args = { class.class }
Line 129:
local remaining = percent_remaining(sum_classes, total)
if remaining then
root:tag('
:addClass('remaining')
:css('width', remaining)
|