Module:JI ratios: Difference between revisions

Ganaram inukshuk (talk | contribs)
Change footnotes wording
Ganaram inukshuk (talk | contribs)
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. Automatic search may not include all notable ratios, and may include irrelevant ratios. ", search_params["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. Automatic search may not include all notable ratios, and may include irrelevant ratios. ", table.concat(search_params["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. Automatic search may not include all notable ratios, and may include irrelevant ratios. ", search_params["Int Limit"])
search_text = string.format("Ratios shown are within the %s-integer limit.", search_params["Int Limit"])
.. " " .. autosearch_text
end
end