Module:Infobox ET: Difference between revisions

Plumtree (talk | contribs)
Refactoring
Plumtree (talk | contribs)
m Refactoring
Line 105: Line 105:
local consistency = tonumber(frame.args['Consistency'])
local consistency = tonumber(frame.args['Consistency'])
if consistency == nil then
if consistency == nil then
consistency = l.consistency_limit(et.size, et.equave, false, 43)
consistency = l.consistency_limit(et, false, 43)
end
end
if consistency == nil then
if consistency == nil then
Line 118: Line 118:
local distinct_consistency = tonumber(frame.args['Distinct consistency'])
local distinct_consistency = tonumber(frame.args['Distinct consistency'])
if distinct_consistency == nil then
if distinct_consistency == nil then
distinct_consistency = l.consistency_limit(et.size, et.equave, true, 43)
distinct_consistency = l.consistency_limit(et, true, 43)
end
end
if distinct_consistency == nil then
if distinct_consistency == nil then