[dismiss]
The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.
View source for Module:Sandbox
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local m_util = require('Module:Util')
local getArgs = require('Module:Arguments').getArgs
local p = {}
function p.test(frame)
local tpl_args = getArgs(frame, {parentFirst = true})
local frame = m_util.misc.get_frame(frame)
local page = tpl_args.page or tostring(mw.title.getCurrentTitle())
local suffix = tpl_args.suffix or ''
out = string.format('#REDIRECT [[%s %s]]', page, suffix)
return out
end
return p
000
1:0
Templates used on this page:
Return to Module:Sandbox.