Module:MOS in EDO allperiods: Difference between revisions
Added generation limit |
m Simplified arg names |
||
| Line 197: | Line 197: | ||
-- - Temperaments: the temperament names entered as key-value pairs, where the key is the genpair separated with a dash. | -- - Temperaments: the temperament names entered as key-value pairs, where the key is the genpair separated with a dash. | ||
-- - Show Subsets: set to 1 to show mosses of subset edos, such as 12edo mosses for 24edo. | -- - Show Subsets: set to 1 to show mosses of subset edos, such as 12edo mosses for 24edo. | ||
-- - | -- - Period Limit: the Period Limit for mosses to display; default is "15" | ||
-- - Number of Periods: if ever set, then the template will show mosses for a specific period count. | -- - Number of Periods: if ever set, then the template will show mosses for a specific period count. | ||
-- - Maximum Number of Steps: if set, mosses with more than this value will not be shown; default is 60. | -- - Maximum Number of Steps: if set, mosses with more than this value will not be shown; default is 60. | ||
| Line 207: | Line 207: | ||
local temperaments = p.parse_entries(frame.args["Temperaments"]) | local temperaments = p.parse_entries(frame.args["Temperaments"]) | ||
local show_subsets = tonumber(frame.args["Show Subsets"]) | local show_subsets = tonumber(frame.args["Show Subsets"]) | ||
local max_periods = tonumber(frame.args[" | local max_periods = tonumber(frame.args["Period Limit"]) or -1 | ||
local max_generations = tonumber(frame.args[" | local max_generations = tonumber(frame.args["Generation Limit"]) or -1 | ||
local num_periods = tonumber(frame.args["Number of Periods"]) | local num_periods = tonumber(frame.args["Number of Periods"]) | ||