Module:Keyword/config: Difference between revisions
Jump to navigation
Jump to search
Mefisto1029 (talk | contribs) (Created) |
Mefisto1029 (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
cfg.i18n.errors = { | cfg.i18n.errors = { | ||
missing_id = 'Missing id parameter, which is mandatory | missing_id = 'Missing id parameter, which is mandatory', | ||
no_data = 'No keyword with the given ID exists, check [[Module:Keyword/ | no_data = 'No keyword with the given ID exists, check [[List of keywords]] or [[Module:Keyword/keywords]] for keywords', | ||
} | } | ||
Latest revision as of 10:31, 10 October 2025
This is the configuration file for Module:Keyword. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Keyword/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:Keyword
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.tooltips = {
tooltip = 'Tooltip',
}
cfg.i18n.errors = {
missing_id = 'Missing id parameter, which is mandatory',
no_data = 'No keyword with the given ID exists, check [[List of keywords]] or [[Module:Keyword/keywords]] for keywords',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
keyword = {
'Template:Keyword',
},
keyword_infobox = {
'Template:Keyword infobox',
},
}
return cfg