Модуль:GetField: различия между версиями

Отмена версии 199242, сделанной Pok (обсуждение)
Метка: отмена
Нет описания правки
Метка: отменено
Строка 363: Строка 363:
local templatePath = tplPath
local templatePath = tplPath
if project ~= nil and project ~= "" then
if project ~= nil and project ~= "" then
templatePath = project .. ":" .. tplPath
templatePath = project .. ":" .. lang:ucfirst(tplPath)
templatePath = "{{#ifexist:Шаблон:" .. templatePath .. "|" .. templatePath .. "|" .. tplPath .. "}}"
templatePath = "{{#ifexist:Шаблон:" .. templatePath .. "|" .. templatePath .. "|" .. tplPath .. "}}"
end
end
Строка 858: Строка 858:
local projectPath = nil
local projectPath = nil
if project ~= nil and project ~= "" then
if project ~= nil and project ~= "" then
projectPath = project .. ":" .. tplPath
projectPath = project .. ":" .. lang:ucfirst(tplPath)
end
end