Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
m a comma
Ganaram inukshuk (talk | contribs)
m a comma
Line 245: Line 245:
intro = intro .. string.format(" and %d small %s", ns/n, (ns/n == 1 and "step" or "steps"))
intro = intro .. string.format(" and %d small %s", ns/n, (ns/n == 1 and "step" or "steps"))
intro = intro .. string.format(" that repeats every %.1f¢", period_in_cents)
intro = intro .. string.format(" that repeats every %.1f¢", period_in_cents)
intro = intro .. (n == 2 and ", or twice every" or string.format(" or %d times every", n)) .. (equave_in_cents == 1200 and " octave." or string.format(" every interval of [[%s]] (%.1f¢).", equave_as_ratio, equave_in_cents, round))
intro = intro .. (n == 2 and ", or twice every" or string.format(", or %d times every", n)) .. (equave_in_cents == 1200 and " octave." or string.format(" every interval of [[%s]] (%.1f¢).", equave_as_ratio, equave_in_cents, round))
end
end