Module:SiteList: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
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),
alias,
categoryLink,
notes
alias,
)
notes
)
 
local ns = mw.title.getCurrentTitle().namespace