Template:Stub/doc

Usage
This adds page to Category:Stubs, except that if page is in the Wikijunior namespace, it adds page instead to Category:Wikijunior Stubs.