Module:SiteList: Difference between revisions

109 bytes added ,  22 July 2023
no edit summary
No edit summary
No edit summary
end
 
local result = string.format(
'|-\n| style="%s" | <span>%s</span>\n| style="text-align:center;vertical-align:middle;" | <span>%s%s</span>\n| style="text-align:center;vertical-align:middle;" | <span>%s</span>\n| style="text-align:center;vertical-align:middle;" | %s\n| style="width: 0px; padding: 0px; border: none;" |\n',
style,
args[1] == 'Studio' and 'Studio' or 'Website',
string.format('[%s %s] <small>([[:Category:%s|%s]])</small>', url, site.label, site.category, site.category),
categoryLink,
alias,
notes
)
)
 
local ns = mw.title.getCurrentTitle().namespace