Module:Item infobox/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
}, | }, | ||
} | } | ||
cfg.attach_template = 'Template:Cargo/main_pages/attach' | |||
return cfg | return cfg |
Latest revision as of 21:47, 12 February 2022
This is the configuration file for Module:Item infobox. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Item infobox/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:Item infobox
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.navbar = {
view = 'view',
edit = 'edit',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
query_item_infobox = {
'Template:Item infobox',
},
}
cfg.attach_template = 'Template:Cargo/main_pages/attach'
return cfg