Module:SiteList: Difference between revisions

38 bytes removed ,  21 July 2023
no edit summary
No edit summary
No edit summary
local notes = args.notes or 'N/A'
 
local result = string.format(
'|-\n| style="text-align:center;vertical-align:middle;" | %s\n| style="text-align:center;vertical-align:middle;" | <span style="font-size:smaller;">[%s %s] ([[:Category:%s|%s]])</span>\n| style="text-align:center;vertical-align:middle;" | %s\n| style="text-align:center;vertical-align:middle;" | %s\n',
args[1] == 'Studio' and 'Studio' or 'Website',
string.format('[%s %s] <small>([[:Category:%s|%s]])</small>', url, args.site, site.category, site.category),
alias,
notes
)
)
 
-- Добавление в категории в зависимости от пространства имен