Модуль:Песочница/Pok: различия между версиями

Нет описания правки
Нет описания правки
Строка 308: Строка 308:
local function makeSourceLink(s)
local function makeSourceLink(s)
     local className =
     local className =
         (s.name:sub(1, 1):upper() .. s.name:sub(2)) ..
         (s.name .. s.name:sub(2)) ..
         (s.kind and (s.kind:sub(1, 1):upper() .. s.kind:sub(2)) or "")
         (s.kind and (s.kind .. s.kind:sub(2)) or "")


     local tplLabel = "Template:" .. s.tplPath
     local tplLabel = "Template:" .. s.tplPath
Строка 1069: Строка 1069:


local function build_missing_template_error(kind, name, isStore, tplPath)
local function build_missing_template_error(kind, name, isStore, tplPath)
     local baseType = (kind and (kind:sub(1, 1):upper() .. kind:sub(2)) or "")
     local baseType = (kind and (kind .. kind:sub(2)) or "")
     local classType = baseType
     local classType = baseType
     if isStore then
     if isStore then