Изменения
Перейти к навигации
Перейти к поиску
Строка 39:
Строка 39:
− +
− local post_text = args['post-text'] or args['_post-text'] or args.postfix or args._postfix or ''+
+
+
Строка 70:
Строка 72:
− +
− +
+comment, comment_sep
local nocat = args.nocat or args._nocat
local nocat = args.nocat or args._nocat
local spaced = args.spaced or args._spaced
local spaced = args.spaced or args._spaced
local pre_text = args['pre-text'] or args['_pre-text'] or args.prefix or args._prefix or ''
local prefix = args.prefix or args._prefix or args['pre-text'] or args['_pre-text'] or ''
local postfix = args.postfix or args._postfix or args['post-text'] or args['_post-text'] or ''
local comment = args.comment or args._comment
local comment_sep = args.comment_sep or args._comment_sep
local inthemiddle = yesno(args.inthemiddle or args._inthemiddle, false)
local inthemiddle = yesno(args.inthemiddle or args._inthemiddle, false)
local wide = yesno(args.wide or args._wide, false)
local wide = yesno(args.wide or args._wide, false)
end
end
table.insert(targs, 1, tname)
table.insert(targs, 1, tname)
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs['_pre-text'], targs['_post-text']
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs['_prefix'], targs['_postfix'], targs._comment, targs._comment_sep
= sep, style, nobr, nocat, spaced, pre_text, post_text
= sep, style, nobr, nocat, spaced, prefix, postfix, comment, comment_sep
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
end
end