Modul:Shortcut/config

Iz Wikipedije, proste enciklopedije
Documentation icon Dokumentacija modula[predogled] [uredi] [zgodovina] [osveži]
-- 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'] = '[[Wikipedija:Bližnjica|{{PLURAL:$1|Bližnjica|Bližnjici|Bližnjice}}]]',

-- The heading when |redirect=yes is given. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['redirect-heading'] = '[[Wikipedija:Preusmeritev|{{PLURAL:$1|Preusmeritev|Preusmeritvi|Preusmeritve}}]]',

-- 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'] = 'Bližnjica #$1 je bila neveljavna (bližnjice morajo biti ' ..
	'nizi, dolgi vsaj en znak)',

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = 'Napaka:Določena ni bila nobena bližnjica in ' ..
	mw.text.nowiki('|msg=') ..
	' parameter ni bil nastavljen.',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Predloge bližnjic z manjkajočimi parametri',
}