Module:Infobox ET: Difference between revisions

m Fix by taking the "suffix" directly
Apparently highly composite and zeta should be sorted too
Line 111: Line 111:
text = text .. '[[Highly composite equal division|highly composite]]'
text = text .. '[[Highly composite equal division|highly composite]]'
if rat.eq(et.equave, 2) then
if rat.eq(et.equave, 2) then
categories = categories .. '[[Category:Highly composite EDO]]'
categories = categories .. '[[Category:Highly composite EDO' .. '|' .. string.rep ('#', string.len (et.size)) .. ']]'
end
end
end
end
Line 121: Line 121:
text = text .. zeta_override
text = text .. zeta_override
end
end
categories = categories .. '[[Category:Zeta]]'
categories = categories .. '[[Category:Zeta' .. '|' .. string.rep ('#', string.len (et.size)) .. ']]'
end
end
table.insert(infobox_data, {
table.insert(infobox_data, {