Module:Sandbox/BrandonXLF/user space explained

local getArgs = require('Module:Arguments').getArgslocal p =

function p.variables(frame) local args = getArgs(frame) local i = 1

local out = '

Variables

Optionally, add any of the code snippets below to the JS file you installed the script in (eg. your common.js file) to change the settings for this script. For best compatibility, put them above the code that is used to load the script.'end

function p.sandboxStatus(frame) local args = getArgs(frame) local title = mw.title.new(args[1]) if not title.exists then return '

' end if title:getContent

(args[2] or ) then return '

' end return ''end

return p