Модуль:Сущность: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 149: | Строка 149: | ||
local content = load_template_content(tplPath) | local content = load_template_content(tplPath) | ||
if not content then | if not content then | ||
local classType = ( | local classType = (kind and (kind:sub(1, 1):upper() .. kind:sub(2)) or "") | ||
local className = name .. classType | local className = name .. classType | ||
local tplLabel = "Template:" .. tplPath | local tplLabel = "Template:" .. tplPath | ||