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

Нет описания правки
мНет описания правки
Строка 126: Строка 126:
            return 'getChemOutput вернул пустой результат.'
            return 'getChemOutput вернул пустой результат.'
        end
        end
        return '{{СollapsibleMenu|' .. output .. '}}'
        return mw.getCurrentFrame():preprocess('{{СollapsibleMenu|' .. output .. '}}')
    elseif subMode == 'contained' then
    elseif subMode == 'contained' then
        local output = getContainedOutput(data, id, false)
        local output = getContainedOutput(data, id, false)
Строка 132: Строка 132:
            return 'getContainedOutput вернул пустой результат.'
            return 'getContainedOutput вернул пустой результат.'
        end
        end
        return '{{СollapsibleMenu|' .. output .. '}}'
        return mw.getCurrentFrame():preprocess('{{СollapsibleMenu|' .. output .. '}}')
    else
    else
        return 'Неизвестный подрежим для framing: ' .. subMode
        return 'Неизвестный подрежим для framing: ' .. subMode