Module:Q-odd-limit intervals: Difference between revisions

ArrowHead294 (talk | contribs)
Undid revision 145109 by ArrowHead294 (talk)
Tag: Undo
ArrowHead294 (talk | contribs)
No edit summary
Line 211: Line 211:
local title = frame.args["title"]
local title = frame.args["title"]
local header = string.lower(frame.args["header"]:gsub("%s+", ""))
local header = string.lower(frame.args["header"]:gsub("%s+", ""))
local tag = string.lower(frame.args["tag"]:gsub("%s+", ""))
local tag
local apx = string.lower(frame.args["apx"]:gsub("%s+", ""))
local apx = string.lower(frame.args["apx"]:gsub("%s+", ""))
Line 223: Line 223:
if header ~= "none" then
if header ~= "none" then
out_str = "The following "
out_str = "The following "
if constcy >= limit then
apx = "val"
end
if apx == "direct" or apx == "val" then
if apx == "direct" or apx == "val" then
out_str = out_str .. "table shows"
out_str = out_str .. "table shows"
Line 231: Line 234:
if constcy >= limit then
if constcy >= limit then
out_str = out_str .. ".\n\nAs " .. steps .. "edo is consistent in the " .. limit .. "-odd-limit, the mappings by direct approximation and through the patent val are identical."
out_str = out_str .. ".\n\nAs " .. steps .. "edo is consistent in the " .. limit .. "-odd-limit, the mappings by direct approximation and through the patent val are identical."
tag = "none"
else
else
out_str = out_str .. "; inconsistent intervals are in ''italics''."
out_str = out_str .. "; inconsistent intervals are in ''italics''."
Line 242: Line 246:
end
end
else
else
tag = string.lower(frame.args["tag"]:gsub("%s+", ""))
out_str = ""
out_str = ""
end
end