Template:Hidecat/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "'''{{tl|{{PAGENAME}}}}''' is used to automatically hide categories. It also leaves behind a message telling other readers that the category has been hidden. ==Usage== '''On cate...")
 
m (Protected "Template:Hidecat/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''{{tl|{{PAGENAME}}}}''' is used to automatically hide categories.  It also leaves behind a message telling other readers that the category has been hidden.
'''{{tl|{{PAGENAME}}}}''' is used to automatically hide categories.  It also leaves behind a message telling other readers that the category has been hidden.
==Usage==
== Usage ==
'''On category pages only''', type<pre>{{hidecat}}</pre>.
'''On category pages only''', type<pre>{{hidecat}}</pre>.


Please note that categories generally '''should not be hidden'''.  This template is only for use in exceptional cases where there is good cause to hide categories.  Remember, too, that the hiding of categories can be easily overridden by users who explore their [[Special:Preferences]] just a bit.
Please note that categories generally '''should not be hidden'''.  This template is only for use in exceptional cases where there is good cause to hide categories.  Remember, too, that the hiding of categories can be easily overridden by users who explore their [[Special:Preferences]] just a bit.
==Display==
== Display ==
{{hidecat}}
{{hidecat}}
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:54, 13 May 2013

{{Hidecat/doc}} is used to automatically hide categories. It also leaves behind a message telling other readers that the category has been hidden.

Usage

On category pages only, type

{{hidecat}}

.

Please note that categories generally should not be hidden. This template is only for use in exceptional cases where there is good cause to hide categories. Remember, too, that the hiding of categories can be easily overridden by users who explore their Special:Preferences just a bit.

Display

This is a hidden category.

Users cannot see it by default. In order to see it on pages where it has been placed, users must click an option in Special:Preferences.

In general, categories should not be hidden. However, in the case of categories which are created solely for use with advanced coding functions like DPL or SMW, then it can be useful to hide them.

Please do not remove this message from this page without discussion at the Panopticon.