Template:Category redirect
Jump to navigation
Jump to search
{{#ifeq:File:Redirect arrow.svg|none
|
|
}}
{{#if:
|
}}
{{#if:File:Redirect arrow.svg | File:Redirect arrow.svg | [[File:{{#switch:move | 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 located at [[:Category:{{{1}}}]].
| {{{imageright}}} |
{{#switch:move
| | speedy | delete | content | style | move | protection | notice =
| #default =
This message box is using an invalid "type=move" parameter and needs fixing.
}}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Category | category | other }} }}
| category = {{#ifexist:Category:{{{1}}}
| | }}{{#ifeq:{{{1}}}|Category redirect|}}
| other | #default = :::::This template should only be used on category pages.
}}{{#if:
{{#ifeq: | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: | no = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Category redirect|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Category redirect|0|2}} | subpage | basepage }} }} }}
| basepage =
| subpage = dontcat
| subsubpage = dontcat
}}
| only = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Category redirect|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Category redirect|0|2}} | subpage | basepage }} }} }}
| basepage = dontcat
| subpage = | subsubpage = }}
}}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Category redirect }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | {{#ifexpr:0 |
}}
| {{#invoke:Namespace detect|main}} | {{#ifexpr:0 |
}}{{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }} | {{#invoke:Namespace detect|main}} | }}
}} }}
}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}