Module:SiteList: Difference between revisions

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