Module:Drop Tables: Difference between revisions

No edit summary
Undo revision 37017 by Eleiyas (talk)
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 47: Line 47:
end
end
if not args.lootbox or mw.title.getCurrentTitle().rootText == args.lootbox then
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, ' Lootboxes]]') end
if (args.nocat == nil and i.nocat == nil) then category:wikitext('[[Category:', name, ' Drop Tables]]') end
end
end
end
end