Module:Skill link/config

From Path of Exile Wiki
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]


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


-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Skill link
-- 
-------------------------------------------------------------------------------

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.errors = {
    missing_id_parameter = 'id parameter must be specified, please choose only one of these ids:<br>%s',
    multiple_results = 'Too many skills found with q_where = %s. Please choose only one of the following ids:<br>%s',
    no_results = 'No results found.',
    category = 'Pages with skill infobox errors',

    -- Skill link:
    invalid_args = 'id, page or name must be specified',
    no_results_found = 'No skills found with q_where = %s',
    invalid_format = 'Invalid return format specified: %s',
    broken_skill_links = 'Pages with broken skill links',
}

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

cfg.parameters = {
    name = 'skill.active_skill_name',
    icon = 'skill.icon',
    html = 'skill.html',
}

cfg.selectors = {'id', 'page', 'skill_name'}

return cfg