Module:SiteList: Difference between revisions

Jump to navigation Jump to search
464 bytes added ,  23 July 2023
no edit summary
No edit summary
No edit summary
url = site.modelUrl .. args.id .. site.suffix
end
end
 
-- Check if the site is archived
if site.archived and (site.archived == 'yes' or site.archived == 'y') and site.archiveURL and site.archiveURL ~= '' then
url = site.archiveURL
end
 
else
linkOrLabel = string.format('[%s %s]', url, site.label)
end
-- Check if the site is archived
if site.archived and (site.archived == 'yes' or site.archived == 'y') then
linkOrLabel = linkOrLabel .. " <small>(''Website archived'')</small>"
end
else

Navigation menu