Module:Official website/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 101:
ret[#ret + 1] = '(' .. makeUrl(options.mobile, 'Mobile') .. ')'
end
if options.archiveurl and not options.archivedate then
options.archivedate = ""
end
if options.archiveurl then
local originalurl = '[' .. options.url .. ' original]'
if not archivedate then
ret[#ret + 1] = '(' .. makeUrl(options.archiveurl, 'archived from the ' .. originalurl) .. ')')
else
ret[#ret + 1] = '(' .. makeUrl(options.archiveurl, 'archived from the ' .. originalurl) .. ' on ' .. options.archivedate .. ')')
end
end