Wikipedia:Categorization: Difference between revisions

Content deleted Content added
Templates: adding further explanation about template categorization going in /doc pages stemming from discussion at WT:Template documentation.
Line 214:
[[Wikipedia:Template namespace|Templates]] are not articles, and thus do not belong in ''content categories''. It is however a recommendation to place them in '''template categories''' – subcategories of [[:Category:Wikipedia templates]] – to assist when looking for templates of a certain type. For example, [[:Template:Schubert string quartets]] is categorized under [[:Category:String quartets by composer navigational boxes]], which should be a subcategory of [[:Category:Music navigational boxes]] (type) but [[:Template:Schubert string quartets]] should ''not'' be categorized under [[:Category:Franz Schubert]] or [[:Category:String quartets]] (content).
 
It is usually desirable that pages using a template are not placed in the same categories as the template itself. To avoid this, the category for the template should be placed on the template's documentation page, normally within a {{tag|includeonly|content={{tlp|Sandbox other||...}}}} block;. ifThis also allows template categorization to be edited by all users when the template code itself needs enhanced protection from vandalism. When there is no documentation page, the category for the template may be placed on the template itself, within a {{tag|noinclude}} block. When a {{tag|noinclude}} block is the last item in the template code, there should be no spaces or new lines between the last part of the template proper and the opening {{tag|noinclude|o}} tag.
 
{{anchor|Categorizing user pages|USER|USERS|USERNOCAT}}
 
===User pages ===
{{shortcut|WP:CAT#USER|WP:USERNOCAT}}{{Further|Wikipedia:User categories|Wikipedia:User pages#Categories, templates that add categories, and redirects}}