Module:MOS intervals: Difference between revisions
m apostrophe character |
Mos abbrev param added |
||
| Line 108: | Line 108: | ||
local scale_sig = mos.as_string(input_mos) | local scale_sig = mos.as_string(input_mos) | ||
local mos_prefix = tamnams.lookup_prefix(input_mos) | local mos_prefix = tamnams.lookup_prefix(input_mos) | ||
if frame.args['MOS Prefix'] == "NONE" then | if frame.args['MOS Prefix'] == "NONE" then | ||
mos_prefix = "" | mos_prefix = "" | ||
elseif string.len(frame.args['MOS Prefix']) > 0 then | elseif string.len(frame.args['MOS Prefix']) > 0 then | ||
mos_prefix = frame.args['MOS Prefix'] | mos_prefix = frame.args['MOS Prefix'] | ||
end | |||
if frame.args['MOS Abbrev'] == "NONE" then | |||
mos_prefix = "" | |||
elseif string.len(frame.args['MOS Abbrev']) > 0 then | |||
mos_prefix = frame.args['MOS Abbrev'] | |||
end | end | ||