Module:DemoTemplate

require('Module:No globals')

local newBuffer = require('Module:OutputBuffer') local mt = {}

function mt.__index(t, title) return function(frame) local getBuffer, print, printf = newBuffer printf('') return ' &rarr; ' .. frame:expandTemplate{title = title, args = frame.args} end end

return setmetatable({}, mt)