Module:SiteList: Difference between revisions

7 bytes removed ,  22 July 2023
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
end
 
local result = string.format(
'|-\n! colspan="4" style="%s" | %s\n|- \n| style="text-align:center;vertical-align:middle;" colspan="1" | %s\n| style="text-align:center;vertical-align:middle;" colspan="1" | %s\n| style="text-align:center;vertical-align:middle;" colspan="1" | %s\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,
notes
)
)
 
local ns = mw.title.getCurrentTitle().namespace