Module:template demo
Documentation for this module may be created at Module: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").shallowcopy(args)
local template_name = table.remove(args_copy, 1)
return require("Module:template link").format_link(args) .. ' ⇒<br style="line-height: 200%;" />'
.. frame:expandTemplate { title = template_name, args = args_copy }
end
return export