Module:SiteList: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
 
if site then
local url = site.url
if args.sceneid then
url = site.updatesUrl .. args.sceneid .. '.html'
elseif args.id then
url = site.modelsUrl .. args.id .. '.html'
end
 
local alias = args.alias or mw.title.getCurrentTitle().text
local notes = args.notes and '<small><span style="font-size: 0.875em;">' .. args.notes .. '</span></small>' or '<small><span>N/A</span></small>'
local categoryLink = site.network and site.network ~= '' and string.format(' <small>([[:Category:%s|%s]])</small>', site.network, site.network) or '<small><span>N/A</span></small>'
 
local style