https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ASandbox%2FQuinticFormula
Module:Sandbox/QuinticFormula - Revision history
2025-06-06T02:58:41Z
Revision history for this page on the wiki
MediaWiki 1.45.0-wmf.4
https://en.wikipedia.org/w/index.php?title=Module:Sandbox/QuinticFormula&diff=1080708990&oldid=prev
QuinticFormula: Created sandbox module with FizzBuzz function
2022-04-02T23:19:41Z
<p>Created sandbox module with FizzBuzz function</p>
<p><b>New page</b></p><div>-- Module with a FizzBuzz function<br />
-- Lua is fun!<br />
<br />
local p = {}<br />
<br />
function p.fizzbuzz(frame)<br />
local t = {}<br />
for i = 1, 100 do<br />
if i % 15 == 0 then<br />
t[i] = "FizzBuzz<br>"<br />
elseif i % 5 == 0 then<br />
t[i] = "Buzz<br>"<br />
elseif i % 3 == 0 then<br />
t[i] = "Fizz<br>"<br />
else<br />
t[i] = i .. "<br>"<br />
end<br />
end<br />
return table.concat(t)<br />
end<br />
<br />
return p</div>
QuinticFormula