「モジュール:Namespace detect/config」の版間の差分

ナビゲーションに移動 検索に移動
編集の要約なし
(新しいページ: '-------------------------------------------------------------------------------- -- Namespace detect configuration data...')
 
編集の要約なし
8行目: 8行目:
-- that you need to remove the text "-- " at the start of the line.          --
-- that you need to remove the text "-- " at the start of the line.          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
 
local cfg = {} -- Don't edit this line.
local cfg = {} -- Don't edit this line.
 
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                              Parameter names                              --
--                              Parameter names                              --
23行目: 23行目:
-- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}    --
-- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}    --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
 
---- This parameter displays content for the main namespace:
---- This parameter displays content for the main namespace:
-- cfg.main = 'main'
-- cfg.main = 'main'
 
---- This parameter displays in talk namespaces:
---- This parameter displays in talk namespaces:
-- cfg.talk = 'talk'
-- cfg.talk = 'talk'
 
---- This parameter displays content for "other" namespaces (namespaces for which
---- This parameter displays content for "other" namespaces (namespaces for which
---- parameters have not been specified):
---- parameters have not been specified):
-- cfg.other = 'other'
-- cfg.other = 'other'
 
---- This parameter makes talk pages behave as though they are the corresponding
---- This parameter makes talk pages behave as though they are the corresponding
---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
---- Edit that module to change the default values of "yes", "no", etc.
---- Edit that module to change the default values of "yes", "no", etc.
-- cfg.subjectns = 'subjectns'
-- cfg.subjectns = 'subjectns'
 
---- This parameter sets a demonstration namespace:
---- This parameter sets a demonstration namespace:
-- cfg.demospace = 'demospace'
-- cfg.demospace = 'demospace'
 
---- This parameter sets a specific page to compare:
---- This parameter sets a specific page to compare:
-- cfg.page = 'page'
cfg.demopage = 'page'
 
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                          Table configuration                              --
--                          Table configuration                              --
51行目: 51行目:
-- documentation.                                                            --
-- documentation.                                                            --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
 
---- The header for the namespace column in the wikitable containing the list of
---- The header for the namespace column in the wikitable containing the list of
---- possible subject-space parameters.
---- possible subject-space parameters.
-- cfg.wikitableNamespaceHeader = 'Namespace'
-- cfg.wikitableNamespaceHeader = 'Namespace'
 
---- The header for the wikitable containing the list of possible subject-space
---- The header for the wikitable containing the list of possible subject-space
---- parameters.
---- parameters.
-- cfg.wikitableAliasesHeader = 'Aliases'
-- cfg.wikitableAliasesHeader = 'Aliases'
 
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                        End of configuration data                          --
--                        End of configuration data                          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
 
return cfg -- Don't edit this line.
return cfg -- Don't edit this line.
匿名利用者

案内メニュー