Изменения

Перейти к навигации Перейти к поиску
class -or ''
Строка 60: Строка 60:  
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
Строка 206: Строка 207:  
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
Анонимный участник

Реклама:

Навигация