Module:Format TemplateData/config: Difference between revisions

From Infarupedia
test2>MusikBot II
m (Protected "Module:Format TemplateData/config": High-risk template or module: 515 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
mw.loadData()
mw.loadData()
]=]
]=]
 
return {
 
catProblem = false,
 
classMultiColumns = "column-multiple",
return { catProblem         = false,
classNoNumTOC = "nonumtoc",
classMultiColumns   = "column-multiple",
classTable = { "wikitable", "templatedata-params" },
        classNoNumTOC       = "nonumtoc",
cssParams = { ["border"]   = "#B3B7FF 1px solid" },
        classTable         = { "wikitable", "templatedata-params" },
docpageCreate = "%s/doc",
        cssParams           = { ["border"]       = "#B3B7FF 1px solid" },
docpageDetect = "/doc",
        docpageCreate = "%s/doc",
helpBoolean = false,
        docpageDetect = "/doc",
helpContent = false,
        helpBoolean   = false,
helpDate = false,
        helpContent   = false,
helpFile = false,
        helpDate     = false,
helpFormat = false,
        helpFile     = false,
helpLine = false,
        helpFormat   = false,
helpNumber = false,
        helpLine     = false,
helpPage = false,
        helpNumber   = false,
helpString = false,
        helpPage     = false,
helpTemplate = false,
        helpString   = false,
helpURL = false,
        helpTemplate = false,
helpUser = false,
        helpURL       = false,
msgDescMiss = "missing <code>description</code>",
        helpUser     = false,
permit = {
        msgDescMiss   = "missing <code>description</code>",
boole = {
        permit       =
[true]  = {
            { boole = { [true]  = { css  = { ["color"]       = "#050",
css  = {
                                              ["font-weight"] = "bold" },
["color"] = "#050",
                                      lead = false,
["font-weight"] = "bold"
                                      show = "True" },
},
                          [false] = { css  = { ["color"]       = "#610",
lead = false,
                                              ["font-weight"] = "bold" },
show = "True"
                                      lead = false,
},
                                      show = "False" } },
[false] = {
              css   = { tableheadbg = { ["background-color"] = "#B3B7FF" },
css  = {
                          bg          = { ["bg"] = "none" },
["color"] = "#610",
                          required   = { ["border-left"]     = "3px solid black" },
["font-weight"] = "bold"
                          suggested   = { ["border-left"]     = "3px solid #888" },
},
                          optional   = { ["border-left"]     = "3px solid #CCC" },
lead = false,
                          deprecated  = { ["background-color"] = "#FDD",
show = "False"
                                          ["border-left"]     = "3px dotted red" } }
}
            },
},
        tStylesTOCnum       = "TOC nonum",  
css = {
        tStylesMultiColumns = "column-multiple",  
tableheadbg = { ["background-color"] = "#B3B7FF" },
        serial       = Serial }
required = { ["border-left"] = "3px solid black" },
suggested = { ["border-left"] = "3px solid #888" },
optional = { ["border-left"] = "3px solid #CCC" },
deprecated  = {
["background-color"] = "#FDD",
["border-left"] = "3px dotted red"
}
}
},
tStylesTOCnum = "TOC nonum",  
tStylesMultiColumns = "column-multiple",  
serial = Serial
}

Latest revision as of 21:01, 2 December 2024

Documentation for this module may be created at Module:Format TemplateData/config/doc

local Serial = "2022-03-20"
--[=[
enwiki configuration {{TemplateData}}
mw.loadData()
]=]
return {
	catProblem = false,
	classMultiColumns = "column-multiple",
	classNoNumTOC = "nonumtoc",
	classTable = { "wikitable", "templatedata-params" },
	cssParams = { ["border"]	   = "#B3B7FF 1px solid" },
	docpageCreate = "%s/doc",
	docpageDetect = "/doc",
	helpBoolean = false,
	helpContent = false,
	helpDate = false,
	helpFile = false,
	helpFormat = false,
	helpLine = false,
	helpNumber = false,
	helpPage = false,
	helpString = false,
	helpTemplate = false,
	helpURL = false,
	helpUser = false,
	msgDescMiss = "missing <code>description</code>",
	permit = {
		boole = {
			[true]  = {
				css  = {
					["color"] = "#050",
					["font-weight"] = "bold"
				},
				lead = false,
				show = "True"
			},
			[false] = {
				css  = {
					["color"] = "#610",
					["font-weight"] = "bold"
				},
		 		lead = false,
		 		show = "False"
			}
		},
		css	= {
			tableheadbg = { ["background-color"] = "#B3B7FF" },
			required = { ["border-left"] = "3px solid black" },
			suggested = { ["border-left"] = "3px solid #888" },
			optional = { ["border-left"] = "3px solid #CCC" },
			deprecated  = {
				["background-color"] = "#FDD",
				["border-left"] = "3px dotted red"
			}
		}
	},
	tStylesTOCnum = "TOC nonum", 
	tStylesMultiColumns = "column-multiple", 
	serial = Serial
}