Module:Lua test: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}
function p.hello(frame)
function p.hello(frame)
     return 'Hello, my ' .. frame.args[1] .. ' is ' .. frame.args[2]
     return frame:preprocess( "'''Bold''' and ''italics'' is {{Foo}}" )
end
end
return p
return p

Revision as of 21:01, 6 May 2024

Lua test documentation


local p = {}
function p.hello(frame)
    return frame:preprocess( "'''Bold''' and ''italics'' is {{Foo}}" )
end
return p