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

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


Строка 863: Строка 863:
local function makeTemplatePrefix()
local function makeTemplatePrefix()
if projectPath then
if projectPath then
return "{{{{#ifexist:Шаблон:" .. projectPath .. "|" .. tplPath .. "|" .. projectPath .. "}}"
return "{{{{#ifexist:Шаблон:" .. projectPath .. "|" .. projectPath .. "|" .. tplPath .. "}}"
end
end