Module:Infobox MOS: Difference between revisions
Simplifying "steps of ed" annotation this time |
m Fixed section headers being duplicated for edr |
||
| Line 222: | Line 222: | ||
elseif not rat.eq(input_mos.equave, 2) then | elseif not rat.eq(input_mos.equave, 2) then | ||
local equave_as_ratio = rat.as_ratio(input_mos.equave) | local equave_as_ratio = rat.as_ratio(input_mos.equave) | ||
equave_annotation = string.format(' | equave_annotation = string.format('<sup><abbr title="In steps of ed%s">(ed%s)</sup>', equave_as_ratio, equave_as_ratio) | ||
end | end | ||
| Line 265: | Line 265: | ||
elseif not rat.eq(input_mos.equave, 2) then | elseif not rat.eq(input_mos.equave, 2) then | ||
local equave_as_ratio = rat.as_ratio(input_mos.equave) | local equave_as_ratio = rat.as_ratio(input_mos.equave) | ||
equave_annotation = string.format(' | equave_annotation = string.format('<sup><abbr title="In steps of ed%s">(ed%s)</sup>', equave_as_ratio, equave_as_ratio) | ||
end | end | ||
| Line 460: | Line 460: | ||
elseif not rat.eq(input_mos.equave, 2) then | elseif not rat.eq(input_mos.equave, 2) then | ||
local equave_as_ratio = rat.as_ratio(input_mos.equave) | local equave_as_ratio = rat.as_ratio(input_mos.equave) | ||
equave_annotation = string.format(' | equave_annotation = string.format('<sup><abbr title="In steps of ed%s">(ed%s)</sup>', equave_as_ratio, equave_as_ratio) | ||
end | end | ||