Изменения
+параметры
local sep = args.sep or args._sep
local sep = args.sep or args._sep
local style = args.style or args._style
local style = args.style or args._style
local nobr = args.nobr or args._nobr
local nocat = args.nocat or args._nocat
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 pre_text = args['pre-text'] or args['_pre-text'] or args.prefix or args._prefix or ''
local post_text = args['post-text'] or args['_post-text'] or args.postfix or args._postfix or ''
local post_text = args['post-text'] or args['_post-text'] or args.postfix or args._postfix or ''
end
end
table.insert(targs, 1, tname)
table.insert(targs, 1, tname)
targs._sep, targs._style, targs['_pre-text'], targs['_post-text'] = sep, style, pre_text, post_text
targs._sep, targs._style, targs._nobr, targs._nocat, targs._spaced, targs['_pre-text'], targs['_post-text']
= sep, style, nobr, nocat, spaced, pre_text, post_text
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
content = content .. opener .. tostring(expand(frame, 'пример', targs)) .. '\n'
end
end