Template:Hidden category: Difference between revisions
Jump to navigation
Jump to search
(template for creating hidden categories) |
(namespace detection) |
||
Line 2: | Line 2: | ||
|type=notice | |type=notice | ||
|text=This '''category is hidden'''. By default, this category is not shown on the pages that are located in it. | |text=This '''category is hidden'''. By default, this category is not shown on the pages that are located in it. | ||
<small>If you wish to see hidden categories on a pages, select “Show hidden categories” in the “Appearance” section of the user preferences.</small> | <small>If you wish to see hidden categories on a pages, select “Show hidden categories” in the “Appearance” section of the user preferences.</small> {{#ifeq: {{{includecat|<noinclude>no</noinclude>}}}|no| |{{Namespace|template=|others= <hr> <span style="color:red; font-weight: bold; font-size:75%">This template is only intended to be used on a template page. Please consider removing this template from this page or ignore the namespace error using the parameter "includecat".</span> [[Category:Pages with templates in wrong namespace]]}}}} | ||
|cat2= __HIDDENCAT__ | |cat2= __HIDDENCAT__ | ||
|mini= {{{mini|}}} | |mini= {{{mini|}}} |
Revision as of 11:18, 4 April 2024
This category is hidden. By default, this category is not shown on the pages that are located in it.
If you wish to see hidden categories on a pages, select “Show hidden categories” in the “Appearance” section of the user preferences. |
Template Documentation
Turns a category into a hidden category and informs the reader of that fact and how to see hidden categories.
Basic usage:
{{Hidden category}}
If you wish to make a category hidden, place this template at the top of the category page. The template contains the MediaWiki magic word __HIDDENCAT__, so you don't need to write it to the category page yourself. The template will place the hidden category to Category:Hidden categories.
If you want the smaller version of this template, set parameter "mini" to "yes".
{{Hidden category|mini=yes}}
If you want to showcase the template without turning the category hidden, set parameter "includecat" to "no".
{{Hidden category|includecat=no}}