Module:SiteDictionary: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
PeaceDeadC (talk | contribs) No edit summary |
PeaceDeadC (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
return { |
return { |
||
website1 = { |
|||
website1 = {base_url='https://website1.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 = { |
|||
defaultLink = 'https://website2.com/', |
|||
idFormat = 'https://website2.com/models/%s.html', |
|||
sceneFormat = 'https://website2.com/updates/%s.html' |
|||
}, |
|||
website3 = { |
|||
defaultLink = 'https://website3.com/', |
|||
idFormat = 'https://website3.com/models/%s.html', |
|||
sceneFormat = 'https://website3.com/updates/%s.html' |
|||
}, |
|||
} |
} |
||
Revision as of 14:45, 21 July 2023
Documentation for this module may be created at Module:SiteDictionary/doc
return {
website1 = {
defaultLink = 'https://website1.com/',
idFormat = 'https://website1.com/models/%s.html',
sceneFormat = 'https://website1.com/updates/%s.html'
},
website2 = {
defaultLink = 'https://website2.com/',
idFormat = 'https://website2.com/models/%s.html',
sceneFormat = 'https://website2.com/updates/%s.html'
},
website3 = {
defaultLink = 'https://website3.com/',
idFormat = 'https://website3.com/models/%s.html',
sceneFormat = 'https://website3.com/updates/%s.html'
},
}