Модуль:Prototypes/Хранилище/Предмет: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 339: | Строка 339: | ||
end | end | ||
if | if subMode == 'contained' then | ||
return frame:preprocess('{{СollapsibleMenu|' .. getContainedOutput(itemDataIndex, id) .. '}}') | return frame:preprocess('{{СollapsibleMenu|' .. getContainedOutput(itemDataIndex, id) .. '}}') | ||
elseif subMode == 'chem' then | |||
return frame:preprocess('{{СollapsibleMenu|color=#3e7c82|' .. getChemOutput(chemData, id) .. '}}') | |||
elseif subMode == "slot" then | elseif subMode == "slot" then | ||
local itemDataEntry = findDataById(itemSlotsData, id) | local itemDataEntry = findDataById(itemSlotsData, id) | ||