Module:Map variants/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
cfg.i18n.named_variants = { | cfg.i18n.named_variants = { | ||
'Shaped %s', | 'Shaped %s', | ||
} | |||
cfg.i18n.atlas_map = { | |||
in_current_series = '%s is in the current map series (%s) for the [[Atlas of Worlds]].', | |||
not_in_current_series = '%s is not in the current map series (%s) for the [[Atlas of Worlds]]. In [[permanent league]]s, an existing %s can be used in the [[Map Device]], but it cannot be influenced by the [[Eldritch Horrors]] or witnessed by [[the Maven]]. There is no bonus objective for this map. It can be converted to a map from the current series by selling it to a [[vendor]].', | |||
} | |||
cfg.i18n.categories = { | |||
in_current_series = 'Maps in current series', | |||
not_in_current_series = 'Maps not in current series', | |||
} | } | ||
Line 32: | Line 42: | ||
latest_variant = { | latest_variant = { | ||
'Template:Latest map variant', | 'Template:Latest map variant', | ||
}, | |||
atlas_map = { | |||
'Template:Atlas map', | |||
}, | }, | ||
} | } | ||
return cfg | return cfg |
Latest revision as of 23:04, 2 June 2024
This is the configuration file for Module:Map variants. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Map variants/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:Map variants
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.named_variants = {
'Shaped %s',
}
cfg.i18n.atlas_map = {
in_current_series = '%s is in the current map series (%s) for the [[Atlas of Worlds]].',
not_in_current_series = '%s is not in the current map series (%s) for the [[Atlas of Worlds]]. In [[permanent league]]s, an existing %s can be used in the [[Map Device]], but it cannot be influenced by the [[Eldritch Horrors]] or witnessed by [[the Maven]]. There is no bonus objective for this map. It can be converted to a map from the current series by selling it to a [[vendor]].',
}
cfg.i18n.categories = {
in_current_series = 'Maps in current series',
not_in_current_series = 'Maps not in current series',
}
cfg.i18n.errors = {
no_map_on_page = 'No map found on page',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
map_variants = {
'Template:Map variants',
},
latest_variant = {
'Template:Latest map variant',
},
atlas_map = {
'Template:Atlas map',
},
}
return cfg