มอดูล:Format TemplateData/config

จาก คูนิฟ็อกซ์ วิกิ
< มอดูล:Format TemplateData
รุ่นแก้ไขเมื่อ 00:59, 2 สิงหาคม 2565 โดย wikipedia>MusikBot II (Protected "Module:Format TemplateData/config": High-risk template or module: 515 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
(ต่าง) ←รุ่นแก้ไขก่อนหน้า | รุ่นแก้ไขล่าสุด (ต่าง) | รุ่นแก้ไขถัดไป→ (ต่าง)

เอกสารการใช้งานสำหรับมอดูลนี้อาจสร้างขึ้นที่ มอดูล: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" },
                          bg          = { ["bg"] = "none" },
                          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 }