Module:Modifier link/config: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 No edit summary |
m (4 revisions imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
incorrect_modid = 'Please change the name from "%s" to any of these modifier ids:<br>%s', | incorrect_modid = 'Please change the name from "%s" to any of these modifier ids:<br>%s', | ||
undefined_statid = 'Please define any of these stat ids: %s', | undefined_statid = 'Please define any of these stat ids: %s', | ||
} | |||
-- ---------------------------------------------------------------------------- | |||
-- Constants | |||
-- ---------------------------------------------------------------------------- | |||
-- Wrapper templates | |||
cfg.wrappers = { | |||
'Template:Modifier link', | |||
} | } | ||
return cfg | return cfg |
Latest revision as of 20:21, 25 September 2024
This is the configuration file for Module:Modifier link. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Modifier link/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:Modifier link
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.categories = {
general_errors = 'Pages with modifier link errors',
}
cfg.i18n.errors = {
invalid_display_option = 'The display option "%s" is invalid. Accepted values are "abbr", "verbose", "stat_text", "max" and "min".',
no_results = 'No results found.',
multiple_results = 'Please choose only one of these modifier ids:<br>%s',
incorrect_modid = 'Please change the name from "%s" to any of these modifier ids:<br>%s',
undefined_statid = 'Please define any of these stat ids: %s',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
'Template:Modifier link',
}
return cfg