Изменения
Перейти к навигации
Перейти к поиску
мСтрока 52:
Строка 52:
− +
− content = '{| class="wikitable '+
− if wide then+
− +
+
+
+
− +
Строка 70:
Строка 73:
− +
fix
local targs, content = {}, ''
local targs, content = {}, ''
if (style == 'wikitable' and not inthemiddle) then
if style == 'wikitable' then
if not inthemiddle 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
end
end
end
end
if (style == 'wikitable' and not inthemiddle) then
if style == 'wikitable' and not inthemiddle then
content = content .. '|}'
content = content .. '|}'
else
else