Module:Guide/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 42: | Line 42: | ||
-- Wrapper templates | -- Wrapper templates | ||
cfg.wrappers = { | cfg.wrappers = { | ||
guide = { | |||
'Template:Guide', | |||
}, | |||
guide_list = { | guide_list = { | ||
'Template:Guide list', | 'Template:Guide list', | ||
Revision as of 17:08, 3 July 2025
This is the configuration file for Module:Guide. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Guide/config/doc.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
-------------------------------------------------------------------------------
--
-- 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