Difference between revisions of "Module:Sandbox/Ahecht/sandbox2"
< Module:Sandbox | Ahecht
Jump to navigation
Jump to search
blackwiki>Ahecht (test) |
blackwiki>Ahecht (test) |
||
| Line 3: | Line 3: | ||
function p.main(frame) | function p.main(frame) | ||
args = frame.args | args = frame.args | ||
| − | + | local one = 'false' | |
| + | local two = 'false' | ||
| + | local three = 'false' | ||
| + | local four = 'false' | ||
| + | if args.one == '' then one = 'true' end | ||
| + | if args.two == '' then two = 'true' end | ||
| + | if args.three == '' then three = 'true' end | ||
| + | if args.four == '' then four = 'true' end | ||
| + | output = one .. two .. three .. four | ||
return output | return output | ||
end | end | ||
return p | return p | ||
Revision as of 23:35, 18 July 2017
Documentation for this module may be created at Module:Sandbox/Ahecht/sandbox2/doc
local p = {}
function p.main(frame)
args = frame.args
local one = 'false'
local two = 'false'
local three = 'false'
local four = 'false'
if args.one == '' then one = 'true' end
if args.two == '' then two = 'true' end
if args.three == '' then three = 'true' end
if args.four == '' then four = 'true' end
output = one .. two .. three .. four
return output
end
return p