Module:JI ratios: Difference between revisions
Change footnotes wording |
m Rewording footnotes |
||
| Line 261: | Line 261: | ||
function p.search_param_footnotes(search_params) | function p.search_param_footnotes(search_params) | ||
local result = "Other interpretations are possible." | local result = "Other interpretations are possible." | ||
local autosearch_text = "Automatic search may include irrelevant ratios and may not include all notable ratios." | |||
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_text = string.format("Ratios shown are within the %s-prime limit.", search_params["Prime Limit"]) | ||
.. " " .. autosearch_text | |||
elseif search_params["Subgroup"] ~= nil then | elseif search_params["Subgroup"] ~= nil then | ||
search_text = string.format("Ratios shown are within the %s subgroup | search_text = string.format("Ratios shown are within the %s subgroup.", table.concat(search_params["Subgroup"], ".")) | ||
.. " " .. autosearch_text | |||
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_text = string.format("Ratios shown are within the %s-integer limit.", search_params["Int Limit"]) | ||
.. " " .. autosearch_text | |||
end | end | ||