Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
mNo edit summary
Line 117: Line 117:
if value_provided(ratio_string) then
if value_provided(ratio_string) then
table.insert(infobox_data, {
if rational then
'Ratio',
table.insert(infobox_data, {
ratio_string
'Ratio',
})
ratio_string
})
else
table.insert(infobox_data, {
'Expression',
frame:preprocess('<math>' .. ratio_string .. '</math>')
})
end
end
end
if regular and rational then
if regular and rational then