Module:Guide/config

From Path of Exile 2 Wiki
Revision as of 21:41, 2 July 2025 by Vinifera7 (talk | contribs) (Created page with "------------------------------------------------------------------------------- -- -- Configuration for Module:New content -- ------------------------------------------------------------------------------- local cfg = {} -- ---------------------------------------------------------------------------- -- i18n -- ---------------------------------------------------------------------------- cfg.i18n = {} cfg.i18n.message_box = { guide = 'This is a...")
(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: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 = 'This is a [[Project:Guides|guide]].',
    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.icons = {
    guide = 'Surveyor\'s Compass 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_list = {
        'Template:Guide list',
    },
}

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

-- Guide namespace
cfg.guide_namespace = 10014

return cfg