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

Нет описания правки
мНет описания правки
Строка 239: Строка 239:
     local blocks = renderBlocks(frame, switches, switchConfigs, switchKeyOrder, switchKeyToTemplates, switchKeySources,
     local blocks = renderBlocks(frame, switches, switchConfigs, switchKeyOrder, switchKeyToTemplates, switchKeySources,
         hasWhitelist)
         hasWhitelist)
    for _, e in ipairs(errors) do table.insert(out, e) end
     for _, b in ipairs(blocks) do table.insert(out, b) end
     for _, b in ipairs(blocks) do table.insert(out, b) end
    for _, e in ipairs(errors) do table.insert(out, e) end


     return frame:preprocess(table.concat(out, "\n\n"))
     return frame:preprocess(table.concat(out, "\n\n"))