Module:Sandbox/LVL: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Fix scaling not appearing? |
No edit summary |
||
| Line 491: | Line 491: | ||
end | end | ||
-- | -- Keep numeric value in its own span, scaling HTML as sibling | ||
local cell_inner = string.format( | |||
local cell_inner = string.format('<span class="stat-num">%s</span>', | '<span class="stat-num">%s</span><span class="stat-scaling">%s</span>', | ||
stat_value, | |||
scaling_strs | |||
) | |||
-- Build data attributes for JavaScript manipulation | -- Build data attributes for JavaScript manipulation | ||