Module:Drop Tables: Difference between revisions
No edit summary |
Tag: Undo |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 47: | Line 47: | ||
end | end | ||
if not args. | if not args.dtable or mw.title.getCurrentTitle().rootText == args.dtable then | ||
out:node(require('Module:Namespace detect').main{main=category}) | out:node(require('Module:Namespace detect').main{main=category}) | ||
end | end | ||
| Line 75: | Line 75: | ||
size = 25 | size = 25 | ||
}):wikitext('<br />') | }):wikitext('<br />') | ||
if (args.nocat == nil and i.nocat == nil) then category:wikitext('[[Category:', name, ' | if (args.nocat == nil and i.nocat == nil) then category:wikitext('[[Category:', name, ' Drop Tables]]') end | ||
end | end | ||
end | end | ||