跳去內容

模組:捷徑/config

出自維基百科,自由嘅百科全書
模組解[]
-- 呢個模組包含[[Module:捷徑]]嘅設定。

return {

-- The heading at the top of the shortcut box. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['shortcut-heading'] = '[[Wikipedia:捷徑|{{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'] = '參數唔齊嘅捷徑模',
}