Module:JI ratios: Difference between revisions
Updated search-by-params to use new function; will momentarily break dependent modules |
No edit summary |
||
| Line 299: | Line 299: | ||
local result = "Not all notable ratios may be shown, and other interpretations are possible." | local result = "Not all notable ratios may be shown, and other interpretations are possible." | ||
if search_params[" | if search_params["Int Limit"] ~= nil then | ||
local tenney_height_text = search_params["Tenney Height"] ~= nil and string.format(", capped at a Tenney height of %.1f.", search_params["Tenney Height"]) or "." | |||
local int_limit_text = string.format("Ratios shown are within the %s-integer limit", search_params["Int Limit"]) | |||
result = tenney_height_text .. int_limit_text .. " " .. result | |||
end | end | ||
return result | return result | ||