Module:Keyword/config: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Created)
 
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/data]] for keywords.',
     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

Module documentation[view] [edit] [history] [purge]


This is the configuration file for Module:Keyword. This file can be edited to allow easy translation/porting of the module to other wikis.


-------------------------------------------------------------------------------
-- 
-- 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