Battle Nations Wiki
Advertisement

Documentation for this module may be created at Module:HelloWorld/doc

-- From http://dev.wikia.com/wiki/Lua_templating/Reference_manual#Introduction

 local p = {}
 
 function p.hello( frame )
    return "Hello, world!"
 end
 
 function p.show_frame(frame)
    local out = {}
    for k, v in pairs(frame:getParent()) do
       out[#out+1] = k
    end
    return table.concat(out, ' ')
 end
 
 return p
Advertisement