Module:Infobox interval: Difference between revisions
mNo edit summary |
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 | ||
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 | ||