Module:CareerList/config: Difference between revisions

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

Navigation menu