Изменения

Перейти к навигации Перейти к поиску
м
fix
Строка 52: Строка 52:  
 
 
local targs, content = {}, ''
 
local targs, content = {}, ''
if (style == 'wikitable' and not inthemiddle) then
+
if style == 'wikitable' then
content = '{| class="wikitable '
+
if not inthemiddle then
if wide then
+
content = '{| class="wikitable '
content = content .. 'wide'
+
if wide then
 +
content = content .. 'wide'
 +
end
 +
content = content .. '"\n! Код !! Результат'
 
end
 
end
content = content .. '"\n! Код !! Результат\n'
+
content = content .. '\n'
 
end
 
end
 
for k, v in pairs(args) do
 
for k, v in pairs(args) do
Строка 70: Строка 73:  
end
 
end
 
end
 
end
if (style == 'wikitable' and not inthemiddle) then
+
if style == 'wikitable' and not inthemiddle then
 
content = content .. '|}'
 
content = content .. '|}'
 
else
 
else
Анонимный участник

Реклама:

Навигация