Изменения

Перейти к навигации Перейти к поиску
нет описания правки
Строка 44: Строка 44:  
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
table.insert(targs, 1, tname)
+
targs = mw.text.split(v, '\\')
if (sep) then
+
table.insert(targs, 1, tname)
targs['_sep'] = sep
+
if (sep) then
 +
targs['_sep'] = sep
 +
end
 +
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
 
end
 
end
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
   
end
 
end
 
 
Анонимный участник

Реклама:

Навигация