Module:SiteDictionary: Difference between revisions

From Porn Base Central
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
return {
return {
website1 = {
website1 = {base_url='https://website1.com', id_url='/models/%s', scene_url='/updates/%s'},
name = 'Website1',
website2 = {base_url='https://website2.com', id_url='/models/%s', scene_url='/updates/%s'},
website3 = {base_url='https://website3.com', id_url='/models/%s', scene_url='/updates/%s'},
defaultLink = 'https://website1.com/',
idFormat = 'https://website1.com/models/%s.html',
-- добавьте здесь другие сайты по мере необходимости
sceneFormat = 'https://website1.com/updates/%s.html'
},
website2 = {
name = 'Website2',
defaultLink = 'https://website2.com/',
idFormat = 'https://website2.com/models/%s.html',
sceneFormat = 'https://website2.com/updates/%s.html'
},
website3 = {
name = 'Website3',
defaultLink = 'https://website3.com/',
idFormat = 'https://website3.com/models/%s.html',
sceneFormat = 'https://website3.com/updates/%s.html'
},
-- И так далее для всех сайтов
}
}

Latest revision as of 14:51, 21 July 2023

Documentation for this module may be created at Module:SiteDictionary/doc

return {
    website1 = {
        name = 'Website1',
        defaultLink = 'https://website1.com/',
        idFormat = 'https://website1.com/models/%s.html',
        sceneFormat = 'https://website1.com/updates/%s.html'
    },
    website2 = {
        name = 'Website2',
        defaultLink = 'https://website2.com/',
        idFormat = 'https://website2.com/models/%s.html',
        sceneFormat = 'https://website2.com/updates/%s.html'
    },
    website3 = {
        name = 'Website3',
        defaultLink = 'https://website3.com/',
        idFormat = 'https://website3.com/models/%s.html',
        sceneFormat = 'https://website3.com/updates/%s.html'
    },
    -- И так далее для всех сайтов
}