Модуль:Сущность: различия между версиями

Нет описания правки
Нет описания правки
Строка 351: Строка 351:
                 return
                 return
             end
             end
             local classType = (kind and (kind:sub(1, 1):upper() .. kind:sub(2)) or "")
             local baseType = (kind and (kind:sub(1, 1):upper() .. kind:sub(2)) or "")
            local classType = baseType
             if isStore then classType = classType .. "Store" end
             if isStore then classType = classType .. "Store" end
             local className = name .. classType
             local className = name .. baseType
             local tplLabel = "Template:" .. tplPath
             local tplLabel = "Template:" .. tplPath
             table.insert(errors,
             table.insert(errors,