Изменения
Перейти к навигации
Перейти к поиску
Строка 44:
Строка 44:
− +
− table.insert(targs, 1, tname)+
− if (sep) then+
− targs['_sep'] = sep+
+
+
+
− content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
нет описания правки
local targs, content = {}, ''
local targs, content = {}, ''
for k, v in pairs(args) do
for k, v in pairs(args) do
targs = mw.text.split(v, '\\')
if type(k) == 'number' then
targs = mw.text.split(v, '\\')
table.insert(targs, 1, tname)
if (sep) then
targs['_sep'] = sep
end
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
end
end
end
end