Модуль:Сущность: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 104: | Строка 104: | ||
local function makeCall(id, obj) | local function makeCall(id, obj) | ||
if type(id) ~= "string" then return end | if type(id) ~= "string" then return end | ||
local parts = { "{{" .. tplPath, "id=" .. id } | local parts = { "<nowiki>{{" .. tplPath, "id=" .. id } | ||
if type(obj) == "table" then | if type(obj) == "table" then | ||
if okDp and dp and type(dp.flattenParams) == "function" then | if okDp and dp and type(dp.flattenParams) == "function" then | ||
| Строка 119: | Строка 119: | ||
end | end | ||
end | end | ||
parts[#parts + 1] = "}}" | parts[#parts + 1] = "}}</nowiki>" | ||
calls[#calls + 1] = table.concat(parts, "|") | calls[#calls + 1] = table.concat(parts, "|") | ||
end | end | ||