Модуль:Сущность: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 351: | Строка 351: | ||
return | return | ||
end | end | ||
local | 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 .. | local className = name .. baseType | ||
local tplLabel = "Template:" .. tplPath | local tplLabel = "Template:" .. tplPath | ||
table.insert(errors, | table.insert(errors, | ||