Módulo:Skill link/config: mudanças entre as edições
Aspeto
Criou página com '------------------------------------------------------------------------------- -- -- Configuration for Module:Skill link -- ------------------------------------------------------------------------------- local cfg = {} -- ---------------------------------------------------------------------------- -- i18n -- ---------------------------------------------------------------------------- cfg.i18n = {} cfg.i18n.errors = { missing_id_parameter = 'id parameter must b...' |
Sem resumo de edição |
||
Linha 4: | Linha 4: | ||
-- | -- | ||
------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
_pageName='{{#replace:{{PAGENAME}}|'|\'}}' | |||
local cfg = {} | local cfg = {} |
Edição atual tal como às 00h41min de 7 de fevereiro de 2025
This is the configuration file for Module:Skill link. This file can be edited to allow easy translation/porting of the module to other wikis.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Skill link
--
-------------------------------------------------------------------------------
_pageName='{{#replace:{{PAGENAME}}|'|\'}}'
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.errors = {
missing_id_parameter = 'id parameter must be specified, please choose only one of these ids:<br>%s',
multiple_results = 'Too many skills found with q_where = %s. Please choose only one of the following ids:<br>%s',
no_results = 'No results found.',
category = 'Pages with skill infobox errors',
-- Skill link:
invalid_args = 'id, page or name must be specified',
no_results_found = 'No skills found with q_where = %s',
invalid_format = 'Invalid return format specified: %s',
broken_skill_links = 'Pages with broken skill links',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
cfg.parameters = {
name = 'skill.active_skill_name',
icon = 'skill.icon',
html = 'skill.html',
}
cfg.selectors = {'id', 'page', 'skill_name'}
return cfg