Module:Handbook: Difference between revisions
No edit summary |
No edit summary |
||
| Line 65: | Line 65: | ||
-- add categories if correct page | -- add categories if correct page | ||
local subpage = args.title or title.subpageText | local subpage = args.title or title.subpageText | ||
if (not args['table'] and title.baseText == 'Handbook | if (not args['table'] and title.baseText == 'Handbook' and (subpage ~= nil and not lib.inArray({ 'Planar Travel', 'Nexus Battle', 'Uncategorized' }, subpage))) then | ||
local cat = mw.html.create() | local cat = mw.html.create() | ||
cat:wikitext('[[Category:Handbook Entries|', subpage, ']]') | cat:wikitext('[[Category:Handbook Entries|', subpage, ']]') | ||