Mòdul:Shortcut/config

De la Viquipèdia, l'enciclopèdia lliure
-- This module holds configuration data for [[Module:Shortcut]].

return {

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

-- The heading when |redirect=yes is given. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['redirect-heading'] = '[[Viquipèdia:Redirecció|{{PLURAL:$1|Redirecció|Redireccions}}]]',

-- 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'] = 'drecera #$1 no era vàlida (les dreceres han de ser ' ..
    "cadenes d'almenys un caràcter de longitud)",

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = "Error: no s'han especificat dreceres i el " ..
	mw.text.nowiki('|msg=') ..
	' el paràmetre no estava assignat.',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Plantilles de drecera amb paràmetres que falten',
}