Difference between revisions of "Module:Sandbox/BrandonXLF/2/example"

From blackwiki
Jump to navigation Jump to search
blackwiki>BrandonXLF
blackwiki>BrandonXLF
Line 1: Line 1:
local p = {}
 
 
function p.main (frame)
 
function p.main (frame)
 
return frame:preprocess(mw.text.unstripNoWiki(frame.args.CODE))
 
return frame:preprocess(mw.text.unstripNoWiki(frame.args.CODE))
 
end
 
end
return p
+
return {main = main}

Revision as of 05:16, 2 January 2019

Documentation for this module may be created at Module:Sandbox/BrandonXLF/2/example/doc

function p.main (frame)
	return frame:preprocess(mw.text.unstripNoWiki(frame.args.CODE))
end
return {main = main}