Module:WeatherBox: Difference between revisions

m
1 revision imported
(moving text-align: center; from table cells in Module:WeatherBoxColors to table row here: less redundancy)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 175:
local result, color_str, value_str;
result = {'|- style="text-align: center;"\n! scope="row" style="height: 16px;" | ', label, "\n"}
for i = 1,13 do
color_str = color_values[i];
Line 284:
end
if mode == 'avg' then
total = math_mod._round( total / 12, p1 + 1 );
end
return tostring( total ), total;