Module:CareerList/config: 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: | ||
-- конфигурация сайтов |
|||
local sites = { |
|||
Example1 = { |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
name = 'Example 2', |
|||
| ⚫ | |||
| ⚫ | |||
} |
|||
-- экспорт конфигурации |
|||
return { |
return { |
||
sites = sites |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
id = 'id=$1', |
|||
| ⚫ | |||
} |
} |
||
Revision as of 23:31, 12 March 2023
Documentation for this module may be created at Module:CareerList/config/doc
-- конфигурация сайтов
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 = sites
}