模組:捷徑/設定
閱讀設定
< 模組:捷徑
呢個模組嘅解說可以喺模組:捷徑/設定/doc度開
-- 呢個模組係用來擺[[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'] = '{{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'] = 'shortcut #$1 was invalid (shortcuts must be ' ..
'strings of at least one character in length)',
-- 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'] = '捷徑模漏參數',
}