Ir para o conteúdo

Módulo:Version/config

De DropWiki PoE 2
Revisão de 21h10min de 29 de janeiro de 2025 por 2804:7f0:b342:7285:2d1e:1c01:abfd:fada (discussão) (Criou página com '------------------------------------------------------------------------------- -- -- Configuration for Module:Version -- ------------------------------------------------------------------------------- local cfg = {} -- ---------------------------------------------------------------------------- -- i18n -- ---------------------------------------------------------------------------- cfg.i18n = {} cfg.i18n.categories = { versions = 'Versions', timelines = 'Ti...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)


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



-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Version
-- 
-------------------------------------------------------------------------------

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.categories = {
    versions = 'Versions',
    timelines = 'Timelines',
}

cfg.i18n.show_date = {
    before = '← [[Version %s|%s]]<br>%s',
    after = '[[Version %s|%s]] →<br>%s',
}

cfg.i18n.version = {
    required_args = 'Arguments "patch" and "patchdate" are required',
    multiple_versions = 'There are multiple versions with the same name',
    header = '[[Version history|Version History]]',
}

cfg.i18n.timeline = {
    version = 'Version',
}

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

-- Wrapper templates
cfg.wrappers = {
    version = {
        'Template:Version',
    },
}

return cfg