Module:SiteList: Difference between revisions

277 bytes added ,  21 July 2023
no edit summary
No edit summary
No edit summary
modelsUrl = 'https://website1.com/models/',
category = 'Network1',
label = 'Website 1',
aliases = {'website1', 'website1.com', 'website1com'},
},
website2 = {
modelsUrl = 'https://website2.com/people/',
category = 'Network2',
label = 'Website 2',
aliases = {'website2', 'website2.com', 'website2com'},
},
website3 = {
modelsUrl = 'https://website3.com/performers/',
category = 'Network3',
label = 'Website 3',
aliases = {'website3', 'website3.com', 'website3com'},
},
-- Добавьте больше сайтов здесь по необходимости
style,
args[1] == 'Studio' and 'Studio' or 'Website',
string.format('[%s %s] <small>([[:Category:%s|%s]])</small>', url, args.site.label, site.category, site.category),
alias,
notes