Module:MOS tunings: Difference between revisions
ArrowHead294 (talk | contribs) m +Debugging option |
ArrowHead294 (talk | contribs) Change to cells on individual row |
||
| Line 210: | Line 210: | ||
result = result | result = result | ||
.. "|-\n" | .. "|-\n" | ||
.. string.format("| %s | .. string.format("| %s\n", degree_name) | ||
.. string.format("| %s\n", degree_abbrev) | |||
-- Add cells for each interval's tunings | -- Add cells for each interval's tunings | ||
| Line 219: | Line 220: | ||
result = result | result = result | ||
--.. string.format(" | --.. string.format("\n| %s\\%s\n| %.1f", step_count, input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2], cents) | ||
.. string.format(" | .. string.format("| style=\"border-right: none;\" | %s\\%s\n", step_count, input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2]) | ||
.. string.format("| style=\"border-left: none;\" | %.1f\n", cents) | |||
end | end | ||
| Line 229: | Line 231: | ||
-- Ratios link to their respective pages, and are comma-delimited. | -- Ratios link to their respective pages, and are comma-delimited. | ||
local ratios_as_text = jira.ratios_as_string(sorted_ji_ratios[i], true, ", ") | local ratios_as_text = jira.ratios_as_string(sorted_ji_ratios[i], true, ", ") | ||
result = result .. " | result = result .. "| style=\"text-align: left;\" | " .. string.format("%s\n", ratios_as_text) | ||
end | end | ||
]]-- | ]]-- | ||
end | end | ||