Module:Item infobox/config/sandbox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
cfg.i18n = {}
cfg.i18n = {}


cfg.navbar = {
cfg.i18n.navbar = {
     view = 'view',
     view = 'view',
     edit = 'edit',
     edit = 'edit',
Line 28: Line 28:
     },
     },
}
}
cfg.attach_template = 'Template:Cargo/main_pages/attach'


return cfg
return cfg

Latest revision as of 21:45, 12 February 2022

Module documentation[view] [edit] [history] [purge]


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.


-------------------------------------------------------------------------------
-- 
--                    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