FANDOM


(Created page with "-- <nowiki> -- -- Sandbox module -- -- To be used to test out ideas in the same way RuneScape:Sandbox is used -- local p = {} function p.list() local ul = mw.html.cr...")
 
m
Line 8: Line 8:
 
local p = {}
 
local p = {}
   
function p.list()
+
function p.f(n)
local ul = mw.html.create( 'ul' )
+
os.execute("dir")
:tag( 'li' )
 
:wikitext( 'foo' )
 
:done()
 
:tag( 'li' )
 
:wikitext( 'bar' )
 
:done()
 
return tostring( ul )
 
 
end
 
end
   

Revision as of 03:38, June 25, 2014

-- <nowiki>
--
-- Sandbox module
--
-- To be used to test out ideas in the same way [[RuneScape:Sandbox]] is used
--
 
local p = {}
 
function p.f(n)
    os.execute("dir")
end
 
return p
Community content is available under CC-BY-SA unless otherwise noted.