Изменения
class -or ''
local inthemiddle = yesno(args.inthemiddle or args._inthemiddle, false)
local inthemiddle = yesno(args.inthemiddle or args._inthemiddle, false)
local wide = yesno(args.wide or args._wide, false)
local wide = yesno(args.wide or args._wide, false)
local class = args.class or args._class
if not opener then
if not opener then
if style == 'wikitable' then
if style == 'wikitable' then
table_content = '{| class="wikitable '
table_content = '{| class="wikitable '
if wide then table_content = table_content .. 'wide' end
if wide then table_content = table_content .. 'wide' end
if class then table_content = table_content .. class end
table_content = table_content .. '"\n! scope="col" | Код !! scope="col" | Результат'
table_content = table_content .. '"\n! scope="col" | Код !! scope="col" | Результат'
if are_comments then table_content = table_content .. ' !! Комментарий' end
if are_comments then table_content = table_content .. ' !! Комментарий' end