Module:Infobox MOS: Difference between revisions
m forgot a string |
mNo edit summary |
||
| Line 296: | Line 296: | ||
local ed_annotation = "" | local ed_annotation = "" | ||
if rat.eq(input_mos.equave, 3) then | if rat.eq(input_mos.equave, 3) then | ||
ed_annotation = '<sup><abbr title="In steps of edt">( | ed_annotation = '<sup><abbr title="In steps of edt">(edt)</sup>' | ||
elseif rat.eq(input_mos.equave, rat.new(3,2)) then | elseif rat.eq(input_mos.equave, rat.new(3,2)) then | ||
ed_annotation = section_header .. '<sup><abbr title="In steps of edf">(edf)</sup>' | ed_annotation = section_header .. '<sup><abbr title="In steps of edf">(edf)</sup>' | ||
elseif not rat.eq(input_mos.equave, 2) then | elseif not rat.eq(input_mos.equave, 2) then | ||
ed_annotation = string.format('<sup><abbr title="In steps of ed%s">( | ed_annotation = string.format('<sup><abbr title="In steps of ed%s">(ed%s)</sup>', rat.as_ratio(input_mos.equave)) | ||
end | end | ||