Модуль:Prototypes/Хранилище/Предмет: различия между версиями

мНет описания правки
мНет описания правки
Строка 115: Строка 115:
     if mode == 'framing' then
     if mode == 'framing' then
         local subMode = frame.args[2]
         local subMode = frame.args[2]
         id = frame.args[3]
         local subId = frame.args[3]
         if subMode == 'chem' then
         if subMode == 'chem' then
             return mw.getCurrentFrame():preprocess('{{СollapsibleMenu|' .. getChemOutput(data, id) .. '}}')
             return mw.getCurrentFrame():preprocess('{{СollapsibleMenu|' .. getChemOutput(data, subId) .. '}}')
         elseif subMode == 'contained' then
         elseif subMode == 'contained' then
             return mw.getCurrentFrame():preprocess('{{СollapsibleMenu|' .. getContainedOutput(data, id, false) .. '}}')
             return mw.getCurrentFrame():preprocess('{{СollapsibleMenu|' .. getContainedOutput(data, subId, false) .. '}}')
         else
         else
             return 'Неизвестный подрежим для framing: ' .. subMode
             return 'Неизвестный подрежим для framing: ' .. subMode