Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
Reworded section on mos names, simplified mentions of equaves
Ganaram inukshuk (talk | contribs)
m Made the step pattern bold, removed parentheses from names section
Line 63: Line 63:
if tamnams_names_list ~= "" and other_names_list ~= "" then
if tamnams_names_list ~= "" and other_names_list ~= "" then
-- There are both tamnams names and alternate names
-- There are both tamnams names and alternate names
sentence = sentence .. string.format("(named %s; also known as %s),", tamnams_names_list, other_names_list)
sentence = sentence .. string.format(", named %s (also known as %s),", tamnams_names_list, other_names_list)
elseif tamnams_names_list ~= "" and other_names_list == "" then
elseif tamnams_names_list ~= "" and other_names_list == "" then
-- There are only tamnams names
-- There are only tamnams names
sentence = sentence .. string.format("(named %s)", tamnams_names_list)
sentence = sentence .. string.format(", named %s,", tamnams_names_list)
elseif tamnams_names_list == "" and other_names_list ~= "" then
elseif tamnams_names_list == "" and other_names_list ~= "" then
-- There are no tamnams names but there are alternate names
-- There are no tamnams names but there are alternate names
sentence = sentence .. string.format("(also known as %s)", other_names_list)
sentence = sentence .. string.format(", also known as %s,", other_names_list)
end
end
Line 152: Line 152:
local brightest_mode = mos.brightest_mode(input_mos)
local brightest_mode = mos.brightest_mode(input_mos)
local sentence = string.format("Scales of the true MOS form take on a [[step pattern]] of %s or some [[rotation]] thereof.", brightest_mode)
local sentence = string.format("Scales of the true MOS form take on a [[step pattern]] of '''%s''' or some [[rotation]] thereof.", brightest_mode)


return sentence
return sentence