Модуль:Serialization/EntityTableSelector: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 283: | Строка 283: | ||
end | end | ||
local content = renderTableById(selector.tableId, visited, depth) | local content = renderTableById(selector.tableId, visited, (depth or 0) + 1) | ||
if wrapped and suffix ~= "" then | if wrapped and suffix ~= "" then | ||
return wrapCollapsible("Группа предметов" .. suffix, content, depth) | return wrapCollapsible("Группа предметов" .. suffix, content, depth) | ||