Module:Item infobox/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
cfg.i18n = {} | cfg.i18n = {} | ||
cfg.navbar = { | cfg.i18n.navbar = { | ||
view = 'view', | view = 'view', | ||
edit = 'edit', | edit = 'edit', |
Revision as of 18:02, 20 January 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',
},
}
return cfg