Module:Passive skill link/config

From Path of Exile 2 Wiki
Revision as of 10:57, 22 December 2025 by Mefisto1029 (talk | contribs) (cfg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]


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


-------------------------------------------------------------------------------
-- 
-- Configuration for [[Module:Passive skill link]]
-- 
-------------------------------------------------------------------------------

local cfg = {}

-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------

cfg.i18n = {}

cfg.i18n.errors = {
    invalid_args = 'id, passive_name, page or q_where must be specified',
    too_many_passives_found = 'Too many passives found with q_where = %s',
    no_passives_found = 'No passives found with q_where = %s',
    invalid_format = 'Invalid return format specified: %s',
    category = 'Pages with passive skill link errors',
}

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

-- Wrapper templates
cfg.wrappers = {
    passive_skill_link = {
        'Template:Passive skill link',
    },
}

cfg.image_size = 39
cfg.image_size_full = cfg.image_size * 2

cfg.parameters = {
    name = 'passive_skills.name',
    icon = 'passive_skills.icon',
    is_keystone = 'passive_skills.is_keystone',
    is_notable = 'passive_skills.is_notable',
    ascendancy_class = 'passive_skills.ascendancy_class',
    is_atlas_passive = 'passive_skills.is_atlas_passive',
    html = 'passive_skills.html',
    page = 'passive_skills.main_page',
}

cfg.selectors = {'id', 'page', 'passive_name', 'q_where'}

return cfg