Module:Guide/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:Guide. This file can be edited to allow easy translation/porting of the module to other wikis.


-------------------------------------------------------------------------------
-- 
--                    Configuration for Module:New content
-- 
-------------------------------------------------------------------------------

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.message_box = {
    guide_subject = 'This is a [[Project:Guides|guide]] on the subject of %s.',
    version_valid = 'Valid as of [[version %s]].',
    last_updated = 'Last updated on %s.',
}

cfg.i18n.table = {
    guide = 'Guide',
    subject = 'Subject',
    version = 'Version valid',
    date = 'Last updated',
    version_link = '[[Version %s|%s]]',
    no_results = 'No results',
}

cfg.i18n.icons = {
    guide = 'Balbala\'s Barya inventory icon.png',
}

cfg.i18n.categories = {
    guides = 'Guides',
}

cfg.i18n.templates = {
    message_box = 'Message box',
}

cfg.i18n.errors = {
    no_subject = 'an unspecified subject',
}

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

-- Wrapper templates
cfg.wrappers = {
    guide = {
        'Template:Guide',
    },
    guide_table = {
        'Template:Guide table',
    },
}

-- Attach templates
cfg.attach_templates = {
    guides = 'Template:Guide/cargo/guides/attach',
}

-- Guide namespace
cfg.guide_namespace = 10014

return cfg