Nothing Special   »   [go: up one dir, main page]

Die Dokumentation für dieses Modul kann unter Modul:Vorlage:lang/config/Doku erstellt werden

local Serial = "2020-02-15"
--[=[
dewiki-Konfiguration {{lang}} Vorlage:lang/config
mw.loadData()
]=]
local Config = {
    classScript = { Arab = "arabic spanAr",
                    Hebr = "hebrew" },
    errCat      = "Wikipedia:Vorlagenfehler/Vorlage:lang",
    errHide     = true,
    site        = "Latn",
    tmplAudio   = { title   = "Audio",
                    filepar = 1,
                    textpar = 2 },
    tmplLang    = { namePat            = "%sS",
                    namePatScript      = "%sS-%s",
                    namePatScriptState = "%sS-%s-%s",
                    namePatState       = "%sS-%s" },
    tmplStyles  = { },
    transys     =
        { ["ALA-LC"]    = { show    = "ALA-LC",
                            support = "ALA-LC-Transkription" },
          BAHAI         = { support = "Bahai-Transkription",
                            show    = "Bahai" },
          ["BGN-PCGN"]  = { show    = "BGN/PCGN",
                            support = "BGN/PCGN-Transkription" },
          DIN1460       = { support = "DIN 1460" },
          ["DIN1460-2"] = { show    = "DIN 1460-2",
                            support = "DIN 1460" },
          DIN32706      = { show    = "DIN 32706",
                            support = "Armenisches Alphabet#Buchstaben" },
          DIN32707      = { show    = "DIN 32707",
                            support = "Georgisches Alphabet#Umschrift" },
          DMG           = { show    = "DMG",
                            support = "DIN 31635" },
          ["DE-WISS"]   = { show    = "wissenschaftliche Transliteration",
                            support = "Kyrillisches Alphabet#Wiedergabe mit lateinischen Buchstaben" },
          IA            = { show    = "İA",
                            support = "İslâm Ansiklopedisi" },
          IAST          = { class   = "IAST",
                            show    = "IAST",
                            support = "International Alphabet of Sanskrit Transliteration" },
          ISO9          = { support = "ISO 9" },
          ISO233        = { support = "ISO 233" },
          ISO259        = { support = "DIN 31636" },
          ["ISO259-1"]  = { support = "DIN 31636" },
          ["ISO259-2"]  = { support = "DIN 31636" },
          ["ISO259-3"]  = { support = "DIN 31636" },
          ISO9984       = { show    = "ISO 9984",
                            support = "Georgisches Alphabet#Umschrift" },
          ISO15919      = { support = "ISO 15919" },
          MCR           = { support = "McCune-Reischauer",
                            show    = "MCR" },
          RR            = { support = "Revidierte Romanisierung",
                            show    = "RR" },
          RTGS          = { support = "Thailändisches Umschriftsystem",
                            show    = "RTGS" },
          RUYI          = { show    = "Transkription" },
          THL           = { show    = "THL",
                            support = "THDL-Transkription" },
          WYLIE         = { show    = "Wylie",
                            support = "Umschrift nach Wylie" },
          YIVO          = { support = "YIVO" },
          ZWPY          = { show    = "ZWPY",
                            support = "Offizielle Transkription der Volksrepublik China für das Tibetische" }
    },
    failsafe    = Serial
}
local TemplateStyles  = { "Arab",
                          "Armi",
                          "Beng",
                          "Bopo",
                          "Copt",
                          "Deva",
                          "Geok",
                          "Hanb",
                          "Glag",
                          "Hani",
                          "Hano",
                          "Hans",
                          "Hant",
                          "Hebr",
                          "Hira",
                          "Kana",
                          "Khmr",
                          "Laoo",
                          "Latn",
                          "Linb",
                          "Phli",
                          "Runr",
                          "Sinh",
                          "Syrc",
                          "Tale",
                          "Thaa",
                          "Thai",
                          "Tibt",
                          "Ugar",
                          "Xpeo",
                          "Xsux" }
for k, v in pairs( TemplateStyles ) do
    Config.tmplStyles[ v ] = string.format( "%s/styles.css", v )
end -- for k, v



return Config


--[=[
enwiki
    tmplLang = { namePat       = "lang-%s",
                 namePatScript = "lang-%s-%s",
                 namePatState  = "lang-%s-%s }
]=]