Jump to content

Module:User:Anomie/Sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Anomie (talk | contribs) at 18:04, 12 October 2014 (bah, colon). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}

local t = os.time()

function p.bug66798( frame )
    return frame:getParent():getTitle()
end

function p.bug71971( frame )
    local a = mw.clone( frame.args )
    return frame:expandTemplate{ title='User:Anomie/Sandbox2', args=a }
end

function p.bug71971_2( frame )
    local m = ''
    for k, v in pairs( frame:getParent().args ) do
        m = m .. tostring(k) .. ' = ' .. tostring(v) .. "\n"
    end
    return '<pre>' .. m .. '</pre>'
end

return p