Template:Category redirect: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m |
No edit summary |
||
Line 3: | Line 3: | ||
|Category = {{Autotranslate|1={{ucfirst:{{{1|}}}}}|base=Category redirect}} |
|Category = {{Autotranslate|1={{ucfirst:{{{1|}}}}}|base=Category redirect}} |
||
{{Nuke|{{FULLPAGENAME}} moved to [[:Category:{{{1}}}]]}}{{{category|{{#ifexpr:{{PAGESINCAT:{{PAGENAME}}|R}}>0|[[Category:Non-empty category redirects]][[Category:{{{1}}}|~{{PAGENAME}}]]}}{{#ifeq:{{NAMESPACE}}|Category|{{#ifeq:{{PAGENAME}}|{{{1}}}|[[Category:Broken category redirects|*]]|{{#ifexist:Category:{{{1}}}|[[Category:Category redirects|{{PAGENAME}}]]|[[Category:Broken category redirects|!]]}}}}|[[Category:Broken category redirects|-]]}}}}} |
{{Nuke|{{FULLPAGENAME}} moved to [[:Category:{{{1}}}]]}}{{{category|{{#ifexpr:{{PAGESINCAT:{{PAGENAME}}|R}}>0|[[Category:Non-empty category redirects]][[Category:{{{1}}}|~{{PAGENAME}}]]}}{{#ifeq:{{NAMESPACE}}|Category|{{#ifeq:{{PAGENAME}}|{{{1}}}|[[Category:Broken category redirects|*]]|{{#ifexist:Category:{{{1}}}|[[Category:Category redirects|{{PAGENAME}}]]|[[Category:Broken category redirects|!]]}}}}|[[Category:Broken category redirects|-]]}}}}} |
||
|#default = {{Category:{{{1|}}}}} [[Category: |
|#default = {{Category:{{{1|}}}}} [[Category:Broken category redirects]] |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
Revision as of 08:41, 6 July 2012
Usage:
- {{category redirect|Name of target-category (without the "Category:" prefix)}}
All pages tagged by this template are automatically categorized in Category:Category redirects. Redirected categories that contain files show up in Category:Non-empty category redirects. Redirects to self or non-existent pages show up in Category:Broken category redirects.
See Commons:Rename a category for further information.