Module:Redirect template: Difference between revisions

Content deleted Content added
Created page with "require('Module:No globals') local p = {} -- key is beginning of arg name. value is table with namespace number and link -- alternatively, a function taking the namespace nu..."
 
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 46:
local content = string.format('\n<div class="rcat %s">\n*%sThis is a redirect%s%s.%s%s\n</div>',
args.classid and ('rcat-' .. string.gsub(args.id, ' ', '_')) or '',
args.name and getPrettyName(args) or '',
args.from and (' from ' .. args.from) or '',