模組:Shortcut/config
外表
| 你可能想去為呢個Scribunto module開一個解版。 編者可以響呢個模組嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模組嘅細版。 |
-- 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'] = '',
}