Module:Passive skill link/config
Jump to navigation
Jump to search
This is the configuration file for Module:Passive skill link. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Passive skill link/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:Passive skill link]]
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.errors = {
invalid_args = 'id, passive_name, page or q_where must be specified',
too_many_passives_found = 'Too many passives found with q_where = %s',
no_passives_found = 'No passives found with q_where = %s',
invalid_format = 'Invalid return format specified: %s',
category = 'Pages with passive skill link errors',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
passive_skill_link = {
'Template:Passive skill link',
},
}
cfg.image_size = 39
cfg.image_size_full = cfg.image_size * 2
cfg.parameters = {
name = 'passive_skills.name',
icon = 'passive_skills.icon',
is_keystone = 'passive_skills.is_keystone',
is_notable = 'passive_skills.is_notable',
ascendancy_class = 'passive_skills.ascendancy_class',
is_atlas_passive = 'passive_skills.is_atlas_passive',
html = 'passive_skills.html',
page = 'passive_skills.main_page',
}
cfg.selectors = {'id', 'page', 'passive_name', 'q_where'}
return cfg