Module:MOS in EDO allperiods: Difference between revisions

Ganaram inukshuk (talk | contribs)
Added comments/todo
Ganaram inukshuk (talk | contribs)
Experimenting with text
Line 127: Line 127:
if number_of_periods == 1 then
if number_of_periods == 1 then
result = result .. string.format("== Single-period MOS scales ==\n")
result = result .. string.format("== Single-period MOS scales ==\n")
result = result .. string.format("This is an automatically generated listing of all single-period mosses that can be found in %iedo, visualized as a rectangular [[horogram]] for each pair of generators. [[TAMNAMS]] names are provided wherever applicable.\n", edo)
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 133: Line 134:
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("== Multi-period MOS scales ==\n")
string.format("This is an automatically generated listing of all multi-period mosses that can be found in %iedo, visualized as a rectangular [[horogram]] for each pair of generators. [[TAMNAMS]] names are provided wherever applicable.\n", edo)
result = result .. string.format("=== %i periods ===\n", number_of_periods)
result = result .. string.format("=== %i periods ===\n", number_of_periods)
multi_period_header_written = true
multi_period_header_written = true