Difference between revisions of "Module:Test"
Moussekateer (talk | contribs) (Created page with "local p = {} function p.hello( frame ) return "Hello, world!" end return p") |
(C if my lua chops are still good) |
||
Line 2: | Line 2: | ||
function p.hello( frame ) | function p.hello( frame ) | ||
− | return "Hello, world!" | + | return frame.args[1] or "Hello, world!" |
end | end | ||
return p | return p |
Latest revision as of 05:41, 16 November 2013
Documentation for this module may be created at Module:Test/doc
local p = {} function p.hello( frame ) return frame.args[1] or "Hello, world!" end return p