Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Updated todo
Ganaram inukshuk (talk | contribs)
Added back tester; found that original infobox code already supports multiple sections, but not multiple links
Line 473: Line 473:
return result
return result


end
function p.tester()
local prev_link = "5L 1s"
local next_link = "5L 3s"
local entries = {
{"Scale structure"},
{"Brightest mode", "LLLsLLs"},
{"Period (cents)", "2\1 (1200¢)"},
{"Bright generator range", "4\7 (685.7¢) to 3\5 (720¢)"},
{"Dark generator range", "2\5 (480¢) to 3\7 (514.3¢)"},
{"TAMNAMS information"},
{"Name", "diatonic"},
{"Prefix", "dia-"},
{"Abbrev.", "dia."},
{"Related scales"},
{"Parent MOS", "2L 3s"},
{"Sister MOS", "2L 5s"},
{"Daughter MOSes", "7L 5s, 5L 7s"},
{"Equal tunings"},
{"Supersoft (L:s = 4:3)", "15\\26 (692.3¢)"},
{"Soft (L:s = 3:2)", "11\\19 (694.7¢)"},
{"Semisoft (L:s = 5:3)", "18\\31 (696.8¢)"},
{"Basic (L:s = 2:1)", "7\\12 (700¢)"},
{"Semihard (L:s = 5:2)", "17\\29 (703.4¢)"},
{"Hard (L:s = 3:1)", "10\\17 (705.9¢)"},
{"Superhard (L:s = 4:1)", "13\\22 (709.1¢)"},
}
return infobox.build("5L 2s (2/1-equivalent)", entries, prev_link, next_link)
end
end


return p
return p