Template:Hidden category: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__HIDDENCAT__{{center|{{cmbox | type = notice | style = background-color: #d8e8ff; border: 1px solid #aaaaaa; min-width: 65%; | textstyle = text-align: center; | text = This c...") |
(Clarification.) |
||
| Line 3: | Line 3: | ||
| style = background-color: #d8e8ff; border: 1px solid #aaaaaa; min-width: 65%; | | style = background-color: #d8e8ff; border: 1px solid #aaaaaa; min-width: 65%; | ||
| textstyle = text-align: center; | | textstyle = text-align: center; | ||
| text = This category is {{category|Hidden categories|not shown | | text = This category is a {{category|Hidden categories|hidden category}}, i.e. it's not shown on its member pages, unless the appropriate [[Special:Preferences#mw-prefsection-rendering|user preference]] is set. | ||
}}}}<noinclude> | }}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:39, 12 January 2015
|
|
This category is a hidden category, i.e. it's not shown on its member pages, unless the appropriate user preference is set. |
Usage
{{hiddencat}} (or {{hidden category}}) should be placed on the category page of the category you wish to be hidden. It contains the appropriate magic word, and displays a message on the category page, at the position where you place it (it should always be placed at the top of the page).
This template includes the magic word __HIDDENCAT__, which means that you don't need to add it to any category page that already uses {{hiddencat}}.
Syntax
This template has no parameters. To use it, place this string of code at the top of the category page:
{{hiddencat}}
See also
| The above documentation is transcluded from Template:Hidden category/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |