Module:MOS genchain: Difference between revisions
Undo revision 175507 by ArrowHead294 (talk). Broken. Tag: Undo |
m Style |
||
| Line 50: | Line 50: | ||
-- Begin table | -- Begin table | ||
local result = "{| class=\"wikitable mw-collapsible" .. (is_collapsed and " mw-collapsed\"\n" or "\"\n") | local result = "{| class=\"wikitable center-1 center-3 mw-collapsible" .. (is_collapsed and " mw-collapsed\"\n" or "\"\n") | ||
-- Table caption | -- Table caption | ||
| Line 59: | Line 59: | ||
for i = 1, period_count do | for i = 1, period_count do | ||
result = result | result = result | ||
.. " !! Scale | .. " !! Scale degree" | ||
.. " !! Abbrev." | .. " !! Abbrev." | ||
end | end | ||
| Line 83: | Line 83: | ||
if num_gens == 0 then | if num_gens == 0 then | ||
result = result | result = result | ||
.. string.format(" || %s<br | .. string.format(" || %s<br>%s", tamnams.degree_quality(current_interval, input_mos, "sentence-case", mos_prefix), tamnams.degree_quality(period_raised_interval, input_mos, "sentence-case", mos_prefix)) | ||
.. string.format(" || %s<br | .. string.format(" || %s<br>%s", tamnams.degree_quality(current_interval, input_mos, "abbrev" , mos_abbrev), tamnams.degree_quality(period_raised_interval, input_mos, "abbrev" , mos_abbrev)) | ||
elseif num_gens < 0 and mos.interval_step_count(current_interval) % mos.period_step_count(input_mos) == 0 then | elseif num_gens < 0 and mos.interval_step_count(current_interval) % mos.period_step_count(input_mos) == 0 then | ||
result = result | result = result | ||