Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
Seeing whether tamnams info as the first section looks any better
Ganaram inukshuk (talk | contribs)
Undo revision 140974 by Ganaram inukshuk (talk)
Tag: Undo
Line 275: Line 275:
local sections = {}
local sections = {}
local tamnams_info_header = ""
local tamnams_info_section = p.tamnams_information(tuning)
if tamnams_info_section ~= nil then
table.insert(sections, {tamnams_info_header, tamnams_info_section})
end
local scale_structure_header = "Scale structure"
local scale_structure_header = "Scale structure"
Line 290: Line 283:
local gen_ranges_section = p.generator_ranges(tuning_parsed)
local gen_ranges_section = p.generator_ranges(tuning_parsed)
table.insert(sections, {gen_ranges_headher, gen_ranges_section})
table.insert(sections, {gen_ranges_headher, gen_ranges_section})
local tamnams_info_header = "TAMNAMS information"
local tamnams_info_section = p.tamnams_information(tuning)
if tamnams_info_section ~= nil then
table.insert(sections, {tamnams_info_header, tamnams_info_section})
end
local related_scales_header = "Related scales"
local related_scales_header = "Related scales"