Module:SiteDictionary: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
PeaceDeadC (talk | contribs) Created page with "local sites = { website1 = { template = '[https://www.website1.com/scene/%s/ Website1 #] (\'\'\'LIST\'\'\') <small>(\'\'\'Network1\'\'\')</small>{{Main other|Category:Website1 models}}', name = 'Website1' }, website2 = { template = '[https://www.website2.com/scene/%s/ Website2]<small>(\'\'\'Network2\'\'\')</small>{{Main other|Category:Website2 models..." |
PeaceDeadC (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| ⚫ | |||
local sites = { |
|||
website1 = { |
website1 = { |
||
name = 'Website1', |
|||
template = '[https://www.website1.com/scene/%s/ Website1 #] (\'\'\'[[List of Website1 actors|LIST]]\'\'\') <small>(\'\'\'[[:Category:Network1|Network1]]\'\'\')</small>{{Main other|[[Category:Website1 models]]}}', |
|||
defaultLink = 'https://website1.com/', |
|||
idFormat = 'https://website1.com/models/%s.html', |
|||
sceneFormat = 'https://website1.com/updates/%s.html' |
|||
}, |
}, |
||
website2 = { |
website2 = { |
||
name = 'Website2', |
|||
template = '[https://www.website2.com/scene/%s/ Website2]<small>(\'\'\'[[:Category:Network2|Network2]]\'\'\')</small>{{Main other|[[Category:Website2 models]][[Category:Network2 models]]}}', |
|||
defaultLink = 'https://website2.com/', |
|||
idFormat = 'https://website2.com/models/%s.html', |
|||
sceneFormat = 'https://website2.com/updates/%s.html' |
|||
}, |
}, |
||
website3 = { |
website3 = { |
||
name = 'Website3', |
|||
template = '[https://website3.com/updates/%s.html Website3] <small>(\'\'\'[[:Category:Network3|Network3]]\'\'\')</small>{{Main other|[[Category:Website3 models]][[Category:Network3 models]]}}', |
|||
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'
},
-- И так далее для всех сайтов
}