Модуль:Песочница/Pok: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 324: | Строка 324: | ||
if not startingItem then return "" end | if not startingItem then return "" end | ||
return frame:preprocess(formatContent(startingItem)) | return frame:preprocess('{{СollapsibleMenu|' .. formatContent(startingItem) .. '}}') | ||
else | else | ||
return 'Неизвестный подрежим для framing: ' .. subMode | return 'Неизвестный подрежим для framing: ' .. subMode | ||
| Строка 339: | Строка 339: | ||
if not startingItem then return "" end | if not startingItem then return "" end | ||
return frame:preprocess( | return frame:preprocess(formatContent(startingItem)) | ||
elseif mode == 'rolls' then | elseif mode == 'rolls' then | ||
local entity = findDataById(itemDataIndex, id) | local entity = findDataById(itemDataIndex, id) | ||