Module:MOS in EDO allperiods: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 63: Line 63:
-- TODO: Show period/note/subset limits if applicable
-- TODO: Show period/note/subset limits if applicable
local result = ""
local result = ""
result = result .. string.format("This page lists all [[moment of symmetry]] scales in [[%iedo]].\n", edo)
result = result .. string.format("This page lists all [[moment of symmetry]] scales in [[%iedo]].\n\n", edo)
-- Call a for loop that produces a set of tables for each period count
-- Call a for loop that produces a set of tables for each period count
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")
result = result .. string.format("=== %i periods ===\n", number_of_periods)
multi_period_header_written = true
multi_period_header_written = true
else
result = result .. string.format("=== %i periods ===\n", number_of_periods)
end
end
result = result .. string.format("=== %i periods ===\n", number_of_periods)
end
end