Module:Format TemplateData/config

MyWikiBiz, Author Your Legacy — Monday November 25, 2024
< Module:Format TemplateData
Revision as of 21:46, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This module is intended to provide local (i.e. English Wikipedia-specific) configuration for Module:Format TemplateData, but is not currently used.


local Serial = "2018-01-25"
--[=[
enwiki configuration {{TemplateData}}
mw.loadData()
]=]



return { catProblem    = false,
         classNoNumTOC = "nonumtoc",
         cssParWrap    = { ["margin-left"]  = "-1em",
                           ["margin-right"] = "-1em" },
         cssParams     = { ["border"]       = "#B3B7FF 1px solid",
                           ["margin-left"]  = "auto",
                           ["margin-right"] = "auto" },
         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" } }
             },
         serial        = Serial }