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