Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
mNo edit summary
Line 103: Line 103:
elseif cents <= 250 then
elseif cents <= 250 then
comma = '[[Large comma|large]]'
comma = '[[Large comma|large]]'
end
-- rational powers are not considered commas
if rational and rat.is_power(ratio) then
comma = nil
end
end
end
end
Line 136: Line 140:
end
end
-- TODO: compute?
local colour_name = frame.args['Color name']
local colour_name = frame.args['Color name']
if colour_name and #colour_name > 0 then
if colour_name and #colour_name > 0 then