Модуль:Сущность: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 49: | Строка 49: | ||
local line = tpl | local line = tpl | ||
local src = sources and sources[i] | local src = sources and sources[i] | ||
line = '< | line = '<div>' .. line .. '</div><div class="ts-Сущность-field">' .. makeSourceLink(src) .. '</div>' | ||
table.insert(parts, '< | table.insert(parts, '<div class="ts-Сущность">' .. line .. '</div>') | ||
end | end | ||
end | end | ||
| Строка 254: | Строка 254: | ||
for _, b in ipairs(blocks) do table.insert(out, b) end | for _, b in ipairs(blocks) do table.insert(out, b) end | ||
return frame:preprocess(table.concat(out, " | return frame:preprocess(table.concat(out, "\n")) | ||
end | end | ||
| Строка 299: | Строка 299: | ||
for _, b in ipairs(blocks) do table.insert(out, b) end | for _, b in ipairs(blocks) do table.insert(out, b) end | ||
return frame:preprocess(table.concat(out, " | return frame:preprocess(table.concat(out, "\n")) | ||
end | end | ||