Module:Infobox ET: Difference between revisions

m Fix
m Fix by taking the "suffix" directly
Line 55: Line 55:
categories = categories .. '[[Category:Equal divisions of the octave|' .. string.rep ('#', string.len (et.size)) .. ']]'
categories = categories .. '[[Category:Equal divisions of the octave|' .. string.rep ('#', string.len (et.size)) .. ']]'
else
else
local equave_text = ET.common_suffix[et.equave]
categories = categories .. '[[Category:' .. et.suffix .. '|' .. string.rep ('#', string.len (et.size)) .. ']]'
if equave_text == nil then
equave_text = et.equave
end
categories = categories .. '[[Category:Ed' .. equave_text .. '|' .. string.rep ('#', string.len (et.size)) .. ']]'
end
end