Module:Passive skill/config

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


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

-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Passive skill
-- 
-------------------------------------------------------------------------------

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.images = {
    icon_name = 'File:%s passive skill icon.png',
}

cfg.i18n.intro = {
    text_with_name = "'''%s''' is the internal id for the [[%s|%s]] [[passive skill]]. ",
    text_without_name = "'''%s''' is the internal id of an unnamed [[passive skill]]. ",
}

cfg.i18n.passive_box = {
    keystone = 'Keystone',
    notable = 'Notable Passive Skill',
    basic = 'Passive Skill',
    ascendancy_notable = 'Ascendancy Notable Passive Skill',
    ascendancy_basic = 'Ascendancy Passive Skill',
}

cfg.i18n.passive_box_table = {
    id = 'Id',
    int_id = 'Integer Id',
    flavour_text = 'Flavour Text',
    reminder_text = 'Reminder Text',
    skill_points = 'Skill Points Granted',
    ascendancy_class = 'Ascendancy Class',
    connections = 'Connections',
}

cfg.i18n.passive_table = {
    ascendancy_class = 'Ascendancy<br>Class',
    name = 'Name',
    stats = 'Stats',
}

cfg.i18n.categories = {
    data = 'Passive skill data',
    keystone = 'Keystone passive skills',
    notable = 'Notable passive skills',
    basic = 'Basic passive skills',
    ascendancy_notable = 'Ascendancy notable passive skills',
    ascendancy_basic = 'Ascendancy basic passive skills',
}

cfg.i18n.errors = {
    no_passives_found = 'No passive skills with the given name found',
}

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

-- Wrapper templates
cfg.wrappers = {
    passive_skill = {
        'Template:Passive skill',
    },
    passive_skill_box = {
        'Template:Passive skill box',
    },
}

-- Attach templates
cfg.attach_templates = {
    passive_skills = 'Template:Passive skill/cargo/passive skills/attach',
    passive_skill_stats = 'Template:Passive skill/cargo/passive skill stats/attach',
    main_pages = 'Template:Cargo/main_pages/attach',
}

return cfg