Module:Sandbox/Kephir
Appearance
-- [[User:Kephir]]'s Scribunto sandbox
-- do not expect anything to stay here in place
return {
pagename = function (frame)
local result = { frame:preprocess("{{PAGENAME}}") }
table.insert(result, "\nown:")
for k, v in pairs(frame.args) do
table.insert(result, "\n*" .. k .. "=" .. v)
end
table.insert(result, "\nparent:")
for k, v in pairs(frame:getParent().args) do
table.insert(result, "\n*" .. k .. "=" .. v)
end
return table.concat(result)
end;
}