コンテンツにスキップ

モジュール:Namespace detect/config

提供:KANOTYPE WIKI

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

 1 --------------------------------------------------------------------------------
 2 --                    Namespace detect configuration data                     --
 3 --                                                                            --
 4 -- This module stores configuration data for Module:Namespace detect. Here    --
 5 -- you can localise the module to your wiki's language.                       --
 6 --                                                                            --
 7 -- To activate a configuration item, you need to uncomment it. This means     --
 8 -- that you need to remove the text "-- " at the start of the line.           --
 9 --------------------------------------------------------------------------------
10 
11 local cfg = {} -- Don't edit this line.
12 
13 --------------------------------------------------------------------------------
14 --                              Parameter names                               --
15 -- These configuration items specify custom parameter names. Values added     --
16 -- here will work in addition to the default English parameter names.         --
17 -- To add one extra name, you can use this format:                            --
18 --                                                                            --
19 -- cfg.foo = 'parameter name'                                                 --
20 --                                                                            --
21 -- To add multiple names, you can use this format:                            --
22 --                                                                            --
23 -- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}     --
24 --------------------------------------------------------------------------------
25 
26 ---- This parameter displays content for the main namespace:
27 -- cfg.main = 'main'
28 
29 ---- This parameter displays in talk namespaces:
30 -- cfg.talk = 'talk'
31 
32 ---- This parameter displays content for "other" namespaces (namespaces for which
33 ---- parameters have not been specified):
34 -- cfg.other = 'other'
35 
36 ---- This parameter makes talk pages behave as though they are the corresponding
37 ---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
38 ---- Edit that module to change the default values of "yes", "no", etc.
39 -- cfg.subjectns = 'subjectns'
40 
41 ---- This parameter sets a demonstration namespace:
42 -- cfg.demospace = 'demospace'
43 
44 ---- This parameter sets a specific page to compare:
45 cfg.demopage = 'page'
46 
47 --------------------------------------------------------------------------------
48 --                           Table configuration                              --
49 -- These configuration items allow customisation of the "table" function,     --
50 -- used to generate a table of possible parameters in the module              --
51 -- documentation.                                                             --
52 --------------------------------------------------------------------------------
53 
54 ---- The header for the namespace column in the wikitable containing the list of
55 ---- possible subject-space parameters.
56 -- cfg.wikitableNamespaceHeader = 'Namespace'
57 
58 ---- The header for the wikitable containing the list of possible subject-space
59 ---- parameters.
60 -- cfg.wikitableAliasesHeader = 'Aliases'
61 
62 --------------------------------------------------------------------------------
63 --                        End of configuration data                           --
64 --------------------------------------------------------------------------------
65 
66 return cfg -- Don't edit this line.