Module:SiteList: Difference between revisions

no edit summary
No edit summary
No edit summary
end
 
iflocal argsisArchived = site.archived and (argssite.archived == 'yes' or argssite.archived == 'y') then
-- Check if the site is archived
if isArchived then
if args.archived and (args.archived == 'yes' or args.archived == 'y') then
if site.archiveURL and site.archiveURL ~= '' then
url = site.archiveURL
else
url = ''site.label
end
end
-- Check if the site is archived
if args.archived and (args.archived == 'yes' or args.archived == 'y')isArchived then
linkOrLabel = linkOrLabel .. " <small>(''Website archived'')</small>"
end