एकक:User:Erutuon/template demo
Appearance
Documentation for this module may be created at एकक:User:Erutuon/template demo/doc
local export = {}
function export.show(frame)
local args = pairs(frame.args)() and frame.args or frame:getParent().args
local args_copy = require("Module:table").shallowClone(args)
local template_name = table.remove(args_copy, 1)
return require("Module:template link").format_link(args) .. "<br>"
.. frame:expandTemplate { title = template_name, args = args_copy }
end
return export