Модуль:GetField: различия между версиями
Pok (обсуждение | вклад) Нет описания правки Метка: отменено |
Pok (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 364: | Строка 364: | ||
if project ~= nil and project ~= "" then | if project ~= nil and project ~= "" then | ||
templatePath = project .. ":" .. tplPath | templatePath = project .. ":" .. tplPath | ||
templatePath = "{{#ifexist:Шаблон:" .. templatePath .. "|" .. | templatePath = "{{#ifexist:Шаблон:" .. templatePath .. "|" .. tplPath .. "|" .. templatePath .. "}}" | ||
end | end | ||
| Строка 863: | Строка 863: | ||
local function makeTemplatePrefix() | local function makeTemplatePrefix() | ||
if projectPath then | if projectPath then | ||
return "{{{{#ifexist:Шаблон:" .. projectPath .. "|" .. | return "{{{{#ifexist:Шаблон:" .. projectPath .. "|" .. tplPath .. "|" .. projectPath .. "}}" | ||
end | end | ||