Module:CareerList/config: Difference between revisions

no edit summary
No edit summary
No edit summary
-- конфигурация сайтов
local sites = {
Example1 = {
idname = '$Example 1',
url = 'https://example1.com/a/$1/b.html',
},
Example2 = {
name = 'Example 2',
url = 'https://example2.com/pageb/$1/c.html',
},
}
 
-- экспорт конфигурации
return {
Example1sites = {sites
url = 'https://example1.com/$1',
id = '$1',
},
Example2 = {
url = 'https://example2.com/page/$1.html',
id = 'id=$1',
},
}