Modulo:Abbreviazioni/config

Da Wikizionario, il dizionario a contenuto aperto.

La documentazione per questo modulo può essere creata in Modulo:Abbreviazioni/config/man

-- This module holds configuration data for [[Module:Shortcut]].

-- Copiato da en.wikipedia.org alla versione: https://en.wikipedia.org/w/index.php?title=Module:Shortcut/config&oldid=811229224
return {

-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[Wikizionario:Abbreviazioni|Abbreviazion{{PLURAL:$1|e|i}}]]',

-- 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'] = 'l\'abbreviazione #$1 non è valida (le abbreviazioni devono essere ' ..
	'stringhe di almeno un carattere in lunghezza)',

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = 'Errore: non sono state specificate abbreviazioni e il paramentro' ..
	mw.text.nowiki(' |msg= ') ..
	'non è stato specificato.',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Template abbreviazioni con parametri mancanti',
}