Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
mNo edit summary
Line 86: Line 86:
end
end
if regular and rational then
if regular and rational then
table.insert(infobox_data, {
if ket:match('<sup>') then
'[[Just intonation subgroup|Subgroup]]',
-- there was a subsequence of 4+ zeros
rat.subgroup(ratio)
table.insert(infobox_data, {
})
'[[Smonzos and svals|Subgroup monzo]]',
end
rat.as_subgroup_ket(ratio)
if regular and rational then
})
table.insert(infobox_data, {
else
'[[Monzo]]',
table.insert(infobox_data, {
ket
'[[Just intonation subgroup|Subgroup]]',
})
rat.subgroup(ratio)
})
table.insert(infobox_data, {
'[[Monzo]]',
ket
})
end
end
end
if regular then
if regular then