Module:MOS mode degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
m fix style again
ArrowHead294 (talk | contribs)
mNo edit summary
Line 129: Line 129:
-- Create table
-- Create table
local result = "{| class=\"wikitable sortable mw-collapsible center-2 center-3" .. (is_collapsed and " mw-collapsed\"\n" or "\"\n")
local result = "{| class=\"wikitable sortable mw-collapsible center-2 center-3"
.. (is_collapsed and " mw-collapsed\"" or "\"") .. "\n"
-- Table's title
-- Table's title
-- If it's for a modmos, add the step pattern
-- If it's for a modmos, add the step pattern
local title = string.format("Scale degrees of the modes of %s", scale_sig) .. (is_true_mos and " " or string.format(" (%s) ", step_pattern))
local title = string.format("Scale degrees of the modes of %s", scale_sig) .. (is_true_mos and " " or string.format(" (%s) ", step_pattern))
result = result .. string.format("|+ style=\"font-size: 105%%; white-space: nowrap\" | %s\n", title)
result = result .. "|+ style=\"font-size: 105%; white-space: nowrap;\" | " .. string.format("%s\n", title)
.. "|-\n"
.. "|-\n"