Module:Weather box/row: Difference between revisions

Content deleted Content added
Temporary fix to solve theming in Page Content Service
update from sandbox: tweak to reduce duplication
 
Line 125:
local result = {'|- style="text-align: center;"\n! scope="row" style="height: 16px;" | ', label, "\n"}
for i = 1, 13 do
table.insert(result,
local color_str '|style="' .. color_values[i] ..
if i == 13 then
table.insert(result,i table.concat( {'|style="',= 13 color_str,and ' border-left-width:medium"' class="notheme"|or '}"') ))..
' class="notheme"| '
else
)
table.insert(result, table.concat( {'|style="', color_str, '" class="notheme"| '} ))
end
local display = first_values[i]:getDisplay()
if display then