Content deleted Content added
fix |
fix |
||
Line 320:
:allDone()
table.insert(rows, class_row)
local new_bubble = bubble(class=='' and 'Unassessed' or (class..'‑class'), colour, conflict)
table.insert(nested_ratings, 1, new_bubble)
end
Line 347 ⟶ 344:
or cfg.importance.default_scale
local importance_rating = cfg.importance.rating:format(pagetype, rating, scale)
local importance_row = mw.html.create('tr')
importance_row
Line 354 ⟶ 352:
table.insert(rows, importance_row)
if importance~='Unknown' then -- importance is not NA or Unknown
local new_bubble = bubble(importance..'‑'..importance_name, colour)
▲ frame:expandTemplate{ title = 'Importance/colour', args = {importance} }
table.insert(nested_ratings, new_bubble)
end
|