Difference between revisions of "Template:Counter category"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Gurch
(having a conditional "hidden" parameter is somewhat pointless if the template unconditionally includes {{hidden category}}. make it just always output the hidden-category part of the first messagebox, and clean up the wording)
Line 1: Line 1:
{{Purge button|left}}
+
__HIDDENCAT__ {{Purge button|left}}
 
{{Cmbox
 
{{Cmbox
 
| type = notice
 
| type = notice
 
| textstyle = text-align: center;
 
| textstyle = text-align: center;
| text = This counter [[Help:Category|category]] is used for administration of the Wikipedia project, and is not part of the encyclopedia. It contains items specifically for the purpose of counting them. Do not include this category in content categories; see [[WP:PROJCATS]]. {{#if:{{{hidden|}}}|<br />This category is [[:Category:Hidden categories|not shown]] on its member pages, unless the appropriate [[Special:Preferences|user preference]] is set.{{Template:Wikipedia category/Hidden}}|}}{{#if:{{{1|}}}| <br /> <div style="text-align: left;">{{{ALTTEXT|'''Description''':}}} {{{1|}}}</div> }}
+
| text = This is a '''counter [[Help:Category|category]]'''. It contains items specifically for the purpose of counting them, in order to [[WP:PROJCATS|assist with maintenance]]. It is not part of the encyclopedia; do not include it in content categories.
}}{{#if:{{{shortcut|}}}| {{shortcut| {{{shortcut}}} }} }}
+
<p>
{{Hidden category}}
+
This is a '''[[:Category:Hidden categories|hidden category]]'''. It is not shown on its member pages, unless a [[Special:Preferences#preftab-1|user preference]] is set.
 +
}}
 
{{Empty category}}<!-- shouldn't be empty, but people get keen -->
 
{{Empty category}}<!-- shouldn't be empty, but people get keen -->
<includeonly>[[Category:Counter categories]]</includeonly><noinclude>
+
{{#if:{{{1|}}}| <br /> <div style="text-align: left;">{{{ALTTEXT|'''Description''':}}} {{{1|}}}</div> }} {{#if:{{{shortcut|}}}| {{shortcut| {{{shortcut}}} }} }}<includeonly>[[Category:Counter categories]]</includeonly><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}

Revision as of 02:14, 18 June 2011


Template documentation[create]