Перайсьці да зьместу

Модуль:Скарачэньне/config

Зьвесткі зь Вікіпэдыі — вольнай энцыкляпэдыі

Дакумэнтацыю да гэтага модуля можна стварыць у Модуль:Скарачэньне/config/Дакумэнтацыя

-- Гэты модуль зьмяшчае дадатковыя налады для працы [[Модуль:Скарачэньне]]

return {

-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[Вікіпэдыя:Скарачэньне|{{PLURAL:$1|Скарачэньне|Скарачэньні}}]]',

-- The heading when |redirect=yes is given. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['redirect-heading'] = '[[Вікіпэдыя:Перанакіраваньне|{{PLURAL:$1|Перанакіраваньне|Перанакіраваньні}}]]',

-- 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'] = 'скарачэньне #$1 некарэктнае (скарачэньні мусяць быць ' ..
	'радкамі з даўжынёй хоць у адзін сымбаль)',

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = 'Памылка: скарачэньні не зададзеныя й парамэтар ' ..
	mw.text.nowiki('|msg=') ..
	' не зададзены.',

-- A category to add when the no-content-error message is displayed. (optional)
['no-content-error-category'] = 'Шаблёны скарачэньняў з прапушчанымі парамэтрамі',
}