Module:CareerList/config: Difference between revisions
Jump to navigation
Jump to search
PeaceDeadC (talk | contribs) No edit summary |
PeaceDeadC (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
⚫ | |||
-- Конфигурационный файл для модуля CareerList |
|||
['bromo'] = { |
|||
url = 'https://example.com/$1', |
|||
type = 'website', |
|||
-- Здесь прописываются настройки для каждого сайта |
|||
}, |
|||
p.sites = { |
|||
['belami'] = { |
|||
url = |
url = 'https://example.com/$1', |
||
type = 'studio', |
|||
alias = "Bromo", -- Псевдоним для отображения в таблице |
|||
}, |
|||
type = "Website", -- Тип сайта (Website или Studio) |
|||
}, |
|||
belami = { |
|||
url = "https://example.com/x/$1/y.html", -- URL-константа для site2 |
|||
alias = "BelAmi", -- Псевдоним для отображения в таблице |
|||
type = "Studio", -- Тип сайта (Website или Studio) |
|||
}, |
|||
} |
} |
||
⚫ |
Revision as of 21:00, 12 March 2023
Documentation for this module may be created at Module:CareerList/config/doc
return { ['bromo'] = { url = 'https://example.com/$1', type = 'website', }, ['belami'] = { url = 'https://example.com/$1', type = 'studio', }, }