FANDOM


-- <nowiki>
--------------------------------------------------------------------------------
-- To test if this module can be loaded locally, paste the following code in the
-- console. To test if it can be loaded globally, do the same on another wikia.
--
-- = require('Dev:Sandbox/DarthKitty/Local module')
--
-- On dev.wikia.com, the console should return "table". On any other wikia, it
-- should return "Lua error in console input at line 5: tried to load a
-- non-global module."
--------------------------------------------------------------------------------
require('Dev:Non-global/sandbox')
 
local p = {}
 
function p._sayHello(name)
    return 'Hello, ' .. name .. '!'
end
 
function p.sayHello(frame)
    local name = frame:getParent().args[1] or frame.args[1] or '{{{1}}}'
 
    return p._sayHello(name)
end
 
return p
 
-- </nowiki>
-- (Add categories here.)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.