Module:SiteDictionary: Difference between revisions
Jump to navigation
Jump to search
PeaceDeadC (talk | contribs) No edit summary |
PeaceDeadC (talk | contribs) 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'}, |
|||
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 17: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' }, -- И так далее для всех сайтов }