モジュール:Find sources/config

提供: MonoBook
< モジュール:Find sources
2022年4月28日 (木) 02:11時点におけるAdministrator (トーク | 投稿記録)による版 (ページの作成:「-- Configuration data for Module:Find sources. return { -- Define the error message and category to be used if the module is used in -- the main namespace and the t…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

このモジュールについての説明文ページを モジュール:Find sources/config/doc に作成できます

-- Configuration data for [[Module:Find sources]].

return {

-- Define the error message and category to be used if the module is used in
-- the main namespace and the template config doesn't set the
-- isUsedInMainspace key to true. The category is optional; if it is not
-- wanted, it can be removed.
['namespace-error'] = 'Error: Please do not use this template in articles.',
['namespace-error-category'] = 'Pages with templates in the wrong namespace',
 
-- The separator to be used if no separator is specified in the template
-- config.
['default-separator'] = mw.message.new('Dot-separator'):plain()

}