Модуль:ExampleList: различия между версиями

Перейти к навигации Перейти к поиску
133 байта добавлено ,  2 года назад
нет описания правки
Нет описания правки
Нет описания правки
 
Строка 151: Строка 151:
end
end
table.insert(targs, 1, tname)
local targs_tname = targs._alias
if not targs_tname then
targs_tname = tname
end
table.insert(targs, 1, targs_tname)
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs._comment_sep = sep, style, nobr,
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs._comment_sep = sep, style, nobr,
nocat, spaced, comment_sep
nocat, spaced, comment_sep
if not targs._prefix then
if not targs._prefix then
targs._prefix = prefix
targs._prefix = prefix
Строка 201: Строка 206:
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
table_content = table_content .. '"\n! Код !! Результат'
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
end
end

Навигация