Module:MOS intro: Difference between revisions
Simplified rothenprop; reduced precision to 1 DP; commented out descendant info for now |
Added back descendant info, but shortened |
||
| Line 173: | Line 173: | ||
descendant_text = string.format("%s is a great-grandchild scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos)) | descendant_text = string.format("%s is a great-grandchild scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos)) | ||
else | else | ||
descendant_text = string.format("%s is | descendant_text = string.format("%s is related to [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos)) | ||
end | end | ||
if named_range == "" then | if named_range == "" then | ||
descendant_text = descendant_text .. string.format(", produced by such scales with a [[step ratio]] within the range of %s.", step_ratio_range) | --descendant_text = descendant_text .. string.format(", produced by such scales with a [[step ratio]] within the range of %s.", step_ratio_range) | ||
descendant_text = descendant_text .. "." | |||
else | else | ||
descendant_text = descendant_text .. string.format(", produced by such scales with a [[step ratio]] within the %s range (%s).", named_range, step_ratio_range) | --descendant_text = descendant_text .. string.format(", produced by such scales with a [[step ratio]] within the %s range (%s).", named_range, step_ratio_range) | ||
descendant_text = descendant_text .. "." | |||
end | end | ||
return descendant_text | return descendant_text | ||
end | end | ||