Module:Babel: Difference between revisions

From Test Wiki
Content deleted Content added
m Protected Module:Babel: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))
some users stick parameters in the args, so it can't pass it all as a title
Line 78: Line 78:
local boxtext
local boxtext
if v:find('%S') and v ~= '!' then
if v:find('%S') and v ~= '!' then
boxtext = frame:expandTemplate{title='User '..v}
boxtext = frame:preprocess('{{User '..v..'}}')
userboxes = userboxes..boxtext
userboxes = userboxes..boxtext
elseif v and v == '!' then
elseif v and v == '!' then