<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FThe_wub%2FPlayground</id>
	<title>Module:Sandbox/The wub/Playground - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FThe_wub%2FPlayground"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/The_wub/Playground&amp;action=history"/>
	<updated>2026-05-28T09:00:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/The_wub/Playground&amp;diff=146305&amp;oldid=prev</id>
		<title>imported&gt;The wub at 12:12, 19 May 2013</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/The_wub/Playground&amp;diff=146305&amp;oldid=prev"/>
		<updated>2013-05-19T12:12:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- set up a table to be used as a module&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- now make a function in the module&lt;br /&gt;
p.helloworld = function(frame)&lt;br /&gt;
    name = frame.args.name or &amp;quot;unknown&amp;quot;&lt;br /&gt;
    return &amp;quot;Hello from Lua &amp;quot; .. name&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.euler1 = function(limit)&lt;br /&gt;
    total = 0&lt;br /&gt;
    for i = 1, limit do&lt;br /&gt;
        if (i%3==0 or i%5==0) then&lt;br /&gt;
            total = total + i &lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    return total&lt;br /&gt;
end&lt;br /&gt;
        &lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- need to return the module for use&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;The wub</name></author>
	</entry>
</feed>