Demo:DisplayCode
Jump to navigation
Jump to search
<syntaxhightlight lang=Lua> p = {}
function p.hello_world(a) cf = mw.getCurrentFrame() return "Hello, world! from " .. mw.allToString(cf.args[3]) .. "-" .. mw.allToString(cf.args[1]) .."-" ..mw.allToString(cf.args[2]) end
end p </syntaxhighlight>