Module:SiteList: Difference between revisions

Undo revision 2512 by PeaceDeadC (talk)
No edit summary
Tag: Reverted
(Undo revision 2512 by PeaceDeadC (talk))
Tag: Undo
end
 
local result = string.format(
'|-\n| style="%s" | %s\n| style="text-align:center;vertical-align:topmiddle;" | %s\n| style="text-align:center;vertical-align:topmiddle;" | %s\n| style="text-align:center;vertical-align:topmiddle;" | %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