Module:DemoTemplate: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
handle = signs in parameters
(Created page with 'require('Module:No globals') local newBuffer = require('Module:OutputBuffer') local mt = {} function mt.__index(t, title) return function(frame) local getBu...')
 
(handle = signs in parameters)
Line 11:
for k,v in ipairs(frame.args) do
ipairsArgs[k] = true
printfif string.find(v, '|%s=', v1, true) then
printf('|%d=%s', k, v)
else
printf('|%s', v)
end
end
for k,v in pairs(frame.args) do
if not ipairsArgs[k] then
printf('|%s=%s', string.gsub(k, '=', '{{=}}'), v)
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu