Template:Category handler: Difference between revisions

Replaced content with "{{#invoke:Category handler|main}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, and interwikis to Wikidata. --> </noinclude>"
(Created page with "__EXPECTUNUSEDCATEGORY__ {{Cmbox | type = move | image = 52px|link= | text = '''This category is located at <span id="softredirect">[[:{{#ifeq:{{NAMESPACE:{{{1}}} }}|Category||Category:}}{{{1}}}]]</span>.''' :'''Note:''' This category should be empty. See the instructions for more information. <span class="sysop-show"><small>'''Administrators''': If this category name is unlikely to be entered on ne...")
 
(Replaced content with "{{#invoke:Category handler|main}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, and interwikis to Wikidata. --> </noinclude>")
Tag: Replaced
 
Line 1: Line 1:
__EXPECTUNUSEDCATEGORY__
{{#invoke:Category handler|main}}<noinclude>
{{Cmbox
{{documentation}}
| type = move
<!-- Add categories to the /doc subpage, and interwikis to Wikidata. -->
| image = [[File:Redirect arrow.svg|52px|link=]]
| text =
'''This category is located at <span id="softredirect">[[:{{#ifeq:{{NAMESPACE:{{{1}}} }}|Category||Category:}}{{{1}}}]]</span>.'''
:'''Note:''' This category should be empty.
See the [[Template:Category redirect#Instructions|instructions]] for more information.
<span class="sysop-show"><small>'''Administrators''': If this category name is unlikely to be entered on new pages, and all [[Special:WhatLinksHere/{{FULLPAGENAME}}|incoming links]] have been cleaned up, [{{fullurl:{{FULLPAGENAME}}|wpReason={{urlencode:[[WP:CSD#G6|G6]]: This category is located at [[{{#ifeq:{{NAMESPACE:{{{1}}} }}|Category||Category:}}{{{1}}}]]. }}}}&action=delete click here to delete].</small></span>
}}{{category other
|<!--
Reporting if the first parameter is not a valid category name:
-->{{#ifexist:{{#ifeq:{{NAMESPACE:{{{1}}} }}|Category||Category:}}{{{1}}}
  |
  | [[Category:Wikipedia category-redirect box parameter needs fixing|∃{{PAGENAME}}]]
  }}<!--
Reporting circular redirects (of length 1):
-->{{#ifeq:{{PAGENAME:{{{1}}}}}|{{PAGENAME}}|[[Category:Wikipedia category-redirect box parameter needs fixing|∞{{PAGENAME}}]]}}
| :::::This template should only be used on category pages.
}}{{category handler
|all = {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|R}}
|[[Category:Wikipedia non-empty soft redirected categories]]
}}<includeonly>{{Category other|[[Category:Wikipedia soft redirected categories]]|{{Incorrect namespace|category}}}}</includeonly>
|nocat={{{nocat|{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Category-move-redirect-override|true}}}}}
}}<noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
</noinclude>
</noinclude>