Module:JI ratios: Difference between revisions
Add subgroup and prime limit options to search-by-params |
Change footnotes wording |
||
| Line 260: | Line 260: | ||
function p.search_param_footnotes(search_params) | function p.search_param_footnotes(search_params) | ||
local result = " | local result = "Other interpretations are possible." | ||
local search_text = "" | local search_text = "" | ||
if search_params["Prime Limit"] ~= nil then | if search_params["Prime Limit"] ~= nil then | ||
search_text = string.format("Ratios shown are within the %s-prime limit.", search_params["Prime Limit"]) | search_text = string.format("Ratios shown are within the %s-prime limit. Automatic search may not include all notable ratios, and may include irrelevant ratios. ", search_params["Prime Limit"]) | ||
elseif search_params["Subgroup"] ~= nil then | elseif search_params["Subgroup"] ~= nil then | ||
search_text = string.format("Ratios shown are within the %s subgroup.", table.concat(search_params["Subgroup"], ".")) | search_text = string.format("Ratios shown are within the %s subgroup. Automatic search may not include all notable ratios, and may include irrelevant ratios. ", table.concat(search_params["Subgroup"], ".")) | ||
elseif search_params["Int Limit"] ~= nil then | elseif search_params["Int Limit"] ~= nil then | ||
search_text = string.format("Ratios shown are within the %s-integer limit.", search_params["Int Limit"]) | search_text = string.format("Ratios shown are within the %s-integer limit. Automatic search may not include all notable ratios, and may include irrelevant ratios. ", search_params["Int Limit"]) | ||
end | end | ||