Module:MOS in EDO allperiods: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 84: Line 84:
-- Add a section header
-- Add a section header
if number_of_periods == 1 then
if number_of_periods == 1 then
result = result .. "== Single-period MOS scales ==\n"
result = result .. "== Single-period MOS scales =="
else
else
-- If the L2 header wasn't written yet, write that, followed by
-- If the L2 header wasn't written yet, write that, followed by
Line 90: Line 90:
-- header.
-- header.
if not multi_period_header_written then
if not multi_period_header_written then
result = result .. string.format("== Multi-period MOS scales ==\n")
result = result .. string.format("\n== Multi-period MOS scales ==\n")
multi_period_header_written = true
multi_period_header_written = true
end
end
Line 119: Line 119:
end
end
end
end
result = result .. "\n"
end
end
result = result .. "\n"
end
end
end
end