![]() | This module is a sandbox for testing XFDcloser. It may occasionally have deletion or speedy deletion notices; please do not actually delete it. |
Tests
{{#invoke:Sandbox/Evad37/X1|main}}
→ Module:Sandbox/Evad37/X1
12°18′N 45°36′E / 12.3°N 45.6°E
42°21′37″N 71°3′28″W / 42.36028°N 71.05778°W
{{#invoke:Sandbox/Evad37/X1|getCoords}}
→
Script error: The function "getCoords" does not exist.
You are on the desktopmobile website.
-- This module is a sandbox. It is also used for testing XFDcloser
local p = {}
p.main = function(frame)
local childFrame = frame:newChild{ title = "Sandbox", args = {} }
local FULLPAGENAME = childFrame:preprocess( "{{FULLPAGENAME}}" )
return FULLPAGENAME
end
p.content = function(frame)
local parent = frame:getParent()
local title = mw.title.getCurrentTitle()
local content = title.getContent()
return content
end
return p