Module:Infobox interval: Difference between revisions

Plumtree (talk | contribs)
mNo edit summary
Plumtree (talk | contribs)
"Tempered out by" entry added
Line 148: Line 148:
comma
comma
})
})
end
if comma and rational then
local tempered_out_by = {}
for i = 3, 10000 do
if ET.tempers_out(ET.new(i, 2), ratio) then
table.insert(tempered_out_by, '[[' .. i .. 'edo]]')
end
end
if #tempered_out_by > 0 then
table.insert(infobox_data, {
'[[Tempering out|Tempered out by]]',
table.concat(tempered_out_by, ',<br/>')
})
end
end
end