Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
mNo edit summary
Line 50: Line 50:
regular = true
regular = true
ratio_string = frame.args['Ratio'] or ''
ratio_string = frame.args['Ratio'] or ''
end
end
local special_properties = {}
if rational and small then
if rat.is_superparticular(ratio) then
table.insert(special_properties, '[[Superparticular interval|superparticular]]')
end
end
end
end
Line 158: Line 165:
'[[Functional Just System|FJS name]]',
'[[Functional Just System|FJS name]]',
frame:preprocess('<math>' .. FJS_name .. '</math>')
frame:preprocess('<math>' .. FJS_name .. '</math>')
})
end
if #special_properties > 0 then
table.insert(infobox_data, {
'Special properties',
table.concat(special_properties, ',<br/>')
})
})
end
end