Difference between revisions of "Module:Sandbox"
Jump to navigation
Jump to search
(better) |
(asdfasdf) |
||
Line 1: | Line 1: | ||
-- Test stuff here. | -- Test stuff here. | ||
+ | local getArgs = require('Module:Arguments').getArgs | ||
+ | |||
local globSandboxVal = "" | local globSandboxVal = "" | ||
Revision as of 22:07, 28 September 2021
Documentation for this module may be created at Module:Sandbox/doc
-- Test stuff here. local getArgs = require('Module:Arguments').getArgs local globSandboxVal = "" local p = {} function p.getSandboxVal(frame) return globSandboxVal end function p.setSandboxVal(frame) local args = getArgs(frame, { valueFunc = function(key, value) return value end }) globSandboxVal = args[1] end return p