跳去內容

模組:Shortcut/config

出自維基百科,自由嘅百科全書
模組解[]
-- 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'] = '[[Wikipedia:捷徑|捷徑]]',

-- The heading when |redirect=yes is given. It accepts the following parameter:
-- $1 - the total number of shortcuts. (required)
['redirect-heading'] = '[[Wikipedia:跳轉|跳轉]]',

-- 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有錯(捷徑起碼要係至少有一個字元嘅' ..
	'字串)[[Category:維基百科捷徑盒需要修正第一參數|{{PAGENAME}}]]',

-- The error message to display when no shortcuts or other displayable content
-- were specified. (required)
['no-content-error'] = '錯:無提供任何捷徑,以及參數' ..
	mw.text.nowiki('|msg=') ..
	'未填。[[Category:維基百科捷徑盒需要修正第一參數|{{PAGENAME}}]]',

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