Module:SiteList: Difference between revisions

24 bytes removed ,  22 July 2023
no edit summary
No edit summary
No edit summary
aliases = {'website1', 'website1.com', 'website1com'},
url = 'https://website1.com/',
updatesUrlsceneUrl = 'https://website1.com/updates/',
modelsUrlmodelUrl = 'https://website1.com/models/',
suffix = '.html',
category = 'Website 1 models',
aliases = {'website2', 'website2.com', 'website2com'},
url = 'https://website2.com/',
updatesUrlsceneUrl = 'https://website2.com/scene/',
modelsUrlmodelUrl = 'https://website2.com/people/',
suffix = '',
category = 'Website 2 models',
aliases = {'website3', 'website3.com', 'website3com'},
url = 'https://website3.com/',
updatesUrlsceneUrl = 'https://website3.com/videos/',
modelsUrlmodelUrl = 'https://website3.com/performers/',
suffix = '.html',
category = 'Website 3 models',
aliases = {'website4', 'website4.com', 'website4com'},
url = 'https://website4.com/',
updatesUrlsceneUrl = 'https://website4.com/videos/',
modelsUrlmodelUrl = 'https://website4.com/performers/',
suffix = '.html',
category = 'Website 4 models',
aliases = {'website5', 'website5.com', 'website5com'},
url = 'https://website5.com/',
updatesUrlsceneUrl = '',
modelsUrlmodelUrl = 'https://website5.com/models/',
suffix = '',
category = 'Website 5 models',
aliases = {'website6', 'website6.com', 'website6com'},
url = 'https://website6.com/',
updatesUrlsceneUrl = 'https://website6.com/updates/',
modelsUrlmodelUrl = '',
suffix = '',
category = 'Website 6 models',
if site then
local url = site.url
if args.sceneid and site.updatesUrlsceneUrl ~= '' then
url = site.updatesUrlsceneUrl .. args.sceneid .. site.suffix
elseif args.id and site.modelsUrlmodelUrl ~= '' then
url = site.modelsUrlmodelUrl .. args.id .. site.suffix
end