Module:CareerList/config: Difference between revisions

From Porn Base Central
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
-- конфигурация сайтов
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 {
return {
Example1 = {
sites = sites
url = 'https://example1.com/$1',
id = '$1',
},
Example2 = {
url = 'https://example2.com/page/$1.html',
id = 'id=$1',
},
}
}

Revision as of 02:31, 13 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
}