Module:Redirect template: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
replace class param with a new id param for better parsing by scripts (class param was added by me in Jan 2019; it's completely unused and was never documented anywhere)
(add a \n before closing div incase the info text contains a list item)
(replace class param with a new id param for better parsing by scripts (class param was added by me in Jan 2019; it's completely unused and was never documented anywhere))
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 '',
0

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu