Module:Incursion/config: Difference between revisions
Jump to navigation
Jump to search
(Created page with "------------------------------------------------------------------------------- -- -- Configuration for Module:Incursion -- ------------------------------------------------------------------------------- local cfg = {} -- ---------------------------------------------------------------------------- -- i18n -- ---------------------------------------------------------------------------- cfg.i18n = {} cfg.i18n.files = { icon_format = 'File:%s incursion room icon.pn...") |
No edit summary |
||
Line 15: | Line 15: | ||
cfg.i18n.files = { | cfg.i18n.files = { | ||
icon_format = 'File:%s incursion room icon.png', | icon_format = 'File:%s incursion room icon.png', | ||
} | |||
cfg.i18n.tiers_roman = { | |||
[1] = 'I', | |||
[2] = 'II', | |||
[3] = 'III', | |||
} | } | ||
Line 29: | Line 35: | ||
cfg.i18n.errors = { | cfg.i18n.errors = { | ||
missing_search_term = 'No incursion room search term specified. Use id or page', | |||
no_results_found = 'No results found for incursion room using search term "%s = %s"', | |||
no_progression = 'No progression found for the given incursion room', | |||
} | } | ||
Line 40: | Line 48: | ||
incursion_room = { | incursion_room = { | ||
'Template:Incursion room', | 'Template:Incursion room', | ||
}, | |||
room_progression = { | |||
'Template:Incursion room progression', | |||
}, | }, | ||
} | } | ||
cfg.tier_max = 3 | |||
return cfg | return cfg |
Latest revision as of 16:12, 30 April 2023
This is the configuration file for Module:Incursion. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Incursion/config/doc.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Incursion
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.files = {
icon_format = 'File:%s incursion room icon.png',
}
cfg.i18n.tiers_roman = {
[1] = 'I',
[2] = 'II',
[3] = 'III',
}
cfg.i18n.headings = {
id = 'Id',
tier = 'Tier',
upgrade_room_id = 'Upgrades to',
min_level = 'Min. Level',
max_level = 'Max. Level',
weight = 'Weight',
architect = 'Architect',
modifier_ids = 'Modifiers',
}
cfg.i18n.errors = {
missing_search_term = 'No incursion room search term specified. Use id or page',
no_results_found = 'No results found for incursion room using search term "%s = %s"',
no_progression = 'No progression found for the given incursion room',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
incursion_room = {
'Template:Incursion room',
},
room_progression = {
'Template:Incursion room progression',
},
}
cfg.tier_max = 3
return cfg