Módulo:New content/config: mudanças entre as edições
Aspeto
Criou página com '------------------------------------------------------------------------------- -- -- Configuration for Module:New content -- ------------------------------------------------------------------------------- local cfg = {} -- ---------------------------------------------------------------------------- -- i18n -- ---------------------------------------------------------------------------- cfg.i18n = { page_new = 'This %s describes new Path of Exi...' |
Sem resumo de edição |
||
Linha 4: | Linha 4: | ||
-- | -- | ||
------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
_pageName='{{#replace:{{PAGENAME}}|'|\'}}' | |||
local cfg = {} | local cfg = {} |
Edição atual tal como às 00h35min de 7 de fevereiro de 2025
A documentação para este módulo pode ser criada em Módulo:New content/config/doc
-------------------------------------------------------------------------------
--
-- Configuration for Module:New content
--
-------------------------------------------------------------------------------
_pageName='{{#replace:{{PAGENAME}}|'|\'}}'
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {
page_new = 'This %s describes new Path of Exile content released in [[version %s]].',
parts_new = 'Parts of this %s related to %s describe new Path of Exile content released in [[version %s]].',
section_new = 'This section describes new Path of Exile content released in [[version %s]].',
page_upcoming = 'This %s describes new Path of Exile content coming in [[version %s]].',
parts_upcoming = 'Parts of this %s related to %s describe new Path of Exile content coming in [[version %s]].',
section_upcoming = 'This section describes new Path of Exile content coming in [[version %s]].',
missing_incorrect = 'Information may be missing or incorrect.',
please_edit = 'Please %s so that it provides complete and accurate information.',
expand_this = 'expand this',
discussion = 'This is discussed in greater detail on the %s.',
relevant_discussion = 'Relevant discussion may be found on the %s.',
talk_page = 'talk page',
}
cfg.i18n.icons = {
newly_released_content = 'Rhoa Pet inventory icon.png',
upcoming_content = 'Eggu.png',
}
cfg.i18n.categories = {
newly_released_content = 'Newly released content',
upcoming_content = 'Upcoming content',
}
cfg.i18n.templates = {
message_box = 'Message box',
subjectspace_formatted = 'SUBJECTSPACE formatted',
}
cfg.i18n.errors = {
version_undefined = 'Argument "version" is required',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper template
cfg.wrapper = 'Template:New content'
return cfg