Module:Item class/config

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


Lua logo

This module depends on the following other modules:

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


-------------------------------------------------------------------------------
-- 
--                    Configuration for Module:Item class
-- 
-------------------------------------------------------------------------------

local m_util = require('Module:Util')

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.list = {
    item_class = 'Item class',
    internal_name = m_util.html.abbr('Internal name', 'The internal name of the item class. This is used for item filter rules that specify item classes.'),
    internal_id = m_util.html.abbr('Internal ID', 'The internal ID of the item class. This is provided mainly as a reference to tool developers. Most players do not need to know this.'),
}

cfg.i18n.infocard = {
    page = '[[Item class]]',
    info = m_util.html.abbr('(?)', 'Item classes categorize items. Classes are often used to restrict items or skill gems to a specific class or by item filters'),
    also_referred_to_as = 'Also referred to as: %s',
    filterid = 'Item filter ID: %s',
    is_removed = "''Removed from the game.''",
    long_upper = 'Long uppercase name: %s',
    long_lower = 'Long lowercase name: %s',
}

cfg.i18n.infocard.errors = {
    invalid_class = 'The item class name "%s" is invalid.',
}

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

-- Wrapper templates
cfg.wrappers = {
    item_class_list = {
        'Template:Item class list',
    },
    item_class_infocard = {
        'Template:Item class infocard',
    },
}

cfg.list = {}

-- Skip these class ids when generating list
cfg.list.skip_ids = {
    ['HarvestSeed'] = true,
    ['HarvestPlantBooster'] = true,
    ['AtlasRegionUpgradeItem'] = true,
}

return cfg