Изменения

_nocat
Строка 64: Строка 64:  
local post_text = args['_post-text'] or ''
 
local post_text = args['_post-text'] or ''
 
local nobr = yesorno(args._nobr, false)
 
local nobr = yesorno(args._nobr, false)
 +
local nocat = yesorno(args._nocat, false)
 
local style = args._style or ''
 
local style = args._style or ''
 +
 
if style == 'pre' then
 
if style == 'pre' then
 
tag = nil
 
tag = nil
Строка 133: Строка 135:  
else
 
else
 
nwt:wikitext(content):done()
 
nwt:wikitext(content):done()
 +
end
 +
 +
if nocat then
 +
targs['nocat'] = 1
 
end
 
end
  
Анонимный участник