Módulo:Atalho/configuração

Permanently protected module
Origem: Wikipédia, a enciclopédia livre.
Documentação do módulo[ver] [editar] [histórico] [purgar]

Descrição

Este Módulo implementa a predefinição {{Atalho}}. Por favor consulte a predefinição para mais instruções.

Uso

Outra documentação:

-- Este módulo define os dados de configuração de [[Módulo:Atalho]].

return {

-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[Wikipédia:Atalho|{{PLURAL:$1|Atalho|Atalhos}}]]',

-- The error message to display when a shortcut is invalid (is not a string, or
-- is the blank string). It accepts the following parameter:
-- $1 - the number of the shortcut in the argument list. (required)
['invalid-shortcut-error'] = 'o atalho #$1 era inválido (atalhos devem ser ' ..
	'strings de no mínimo um caráter de comprimento)',

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = 'Erro: não foi definido nenhum atalho e o parâmetro ' ..
	mw.text.nowiki('|msg=') ..
	' não foi definido.',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = '!Predefinições de atalho com parâmetros em falta',
}