Module:Sandbox/Mefisto1029/main/s1: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Test module)
 
No edit summary
Line 12: Line 12:


cfg.i18n = {}
cfg.i18n = {}
cfg.i18n.tooltips = {
    tooltip = 'Tooltip',
}


cfg.i18n.errors = {
cfg.i18n.errors = {

Revision as of 09:48, 3 October 2025

Module documentation[create] [purge]
-------------------------------------------------------------------------------
-- 
-- 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 [[Module:Keyword/data]] for keywords.',
}

-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------

-- Wrapper templates
cfg.wrappers = {
    keyword = {
        'Template:Keyword',
    },
}

cfg.wrappers = {
    keyword_infobox = {
        'Template:Keyword infobox',
    },
}

return cfg