Module:MOS degrees: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 148: Line 148:
if not is_root then
if not is_root then
for i = 1, number_of_alterations do
for i = 1, number_of_alterations do
table.insert(row_colors, "eaeaff")
table.insert(row_colors, "#eaeaff")
end
end
end
end
Line 154: Line 154:
-- Row colors for main mossetps (default row color)
-- Row colors for main mossetps (default row color)
if is_period then
if is_period then
table.insert(row_colors, "")
table.insert(row_colors, "none")
else
else
table.insert(row_colors, "")
table.insert(row_colors, "none")
table.insert(row_colors, "")
table.insert(row_colors, "none")
end
end
Line 164: Line 164:
if not is_equave then
if not is_equave then
for i = 1, number_of_alterations do
for i = 1, number_of_alterations do
table.insert(row_colors, "eaeaff")
table.insert(row_colors, "#eaeaff")
end
end
end
end
Line 646: Line 646:
result = result .. "|-\n"
result = result .. "|-\n"
else
else
result = result .. string.format("|- style=\"background-color: %s\"\n", row_color)
result = result .. string.format("|- style=\"background: %s\"\n", row_color)
end
end