Template:Counter category
From MediaWiki
{{#ifeq:left|center|}} }}
{{#ifeq:left|center|
{{#switch:notice
{{#switch:content
{{#switch:notice
| |
{{#if: | {{{image}}} | [[File:{{#switch:notice | speedy = Cmbox deletion.png | delete = Cmbox deletion.png | content = Cmbox content.png | style = Edit-clear.svg | move = Cmbox move.png | protection = Cmbox protection.png | notice | #default = Cmbox notice.png }}|40x40px|link=|alt=]]}} |
}}
This is a counter category. It contains items specifically for the purpose of counting them, in order to assist with maintenance. It is not part of the encyclopaedia; do not include it in content categories. | {{{imageright}}} |
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=notice" parameter and needs fixing.
}}
{{#ifeq:{{{hide}}}|true||| |
{{#if: | {{{image}}} | [[File:{{#switch:content | speedy = Cmbox deletion.png | delete = Cmbox deletion.png | content = Cmbox content.png | style = Edit-clear.svg | move = Cmbox move.png | protection = Cmbox protection.png | notice | #default = Cmbox notice.png }}|40x40px|link=|alt=]]}} |
}}
Administrators: Please do not delete this category even if it is empty! This category may be empty occasionally or even most of the time. |
{{{imageright}}} |
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=content" parameter and needs fixing.
}}}}{{#ifeq: false|false|{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }}
| category = {{#if:|{{{2}}}}} | other | #default = {{#ifeq:Template|Template||{{#ifeq:Counter category|sandbox||{{#ifeq:Counter category|testcases||{{#ifeq:Template:Counter category|w:Sandbox||{{#invoke:Message box|mbox}}{{#ifeq:false|false||}}}}}}}}}} }}|}}
| |
{{#if: | {{{image}}} | [[File:{{#switch:notice | speedy = Cmbox deletion.png | delete = Cmbox deletion.png | content = Cmbox content.png | style = Edit-clear.svg | move = Cmbox move.png | protection = Cmbox protection.png | notice | #default = Cmbox notice.png }}|40x40px|link=|alt=]]}} |
}}
This category is not shown on its member pages, unless the appropriate user preference is set. | {{{imageright}}} |
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=notice" parameter and needs fixing.
}}