User:Zhuyifei1999/sandbox: Difference between revisions

m
Undid revision 170038 by Zhuyifei1999 (talk)
mNo edit summary
m (Undid revision 170038 by Zhuyifei1999 (talk))
Line 2: Line 2:


== Temp ==
== Temp ==
{{#switch:{{NAMESPACE}}
|Category = <!-- correct namespace, work as intended
  -->{{Autotranslate|1={{ucfirst:}}|2=|base=Category redirect}}<!--
  -->{{Nuke|{{FULLPAGENAME}} moved to [[:Category:{{{1}}}]]}}<!--
  --><!--
    -->{{#ifexpr:{{PAGESINCAT:{{PAGENAME}}|R}}>0<!--
      -->|[[Category:Non-empty category redirects]][[Category:{{{1}}}|~{{PAGENAME}}]]<!--
    -->}}<!--
    -->{{#ifeq:{{PAGENAME}}|{{{1}}}<!--
      -->|[[Category:Broken category redirects|*]]<!--
      -->|{{#ifexist:Category:{{{1}}}<!--
          -->|[[Category:Category redirects|{{PAGENAME}}]]<!--
          -->|[[Category:Broken category redirects|!]]<!--
        -->}}<!--
    -->}}<!--
  -->
|Commons|Template = <!-- for documentation, don't add categories or nuke icon
  -->{{Autotranslate|1={{ucfirst:}}|2=|base=Category redirect}}
|{{ns:0}}<!--gallery--> = <!-- display error
  -->{{error|Category redirects should be used in the category namespace only. You may want to use <nowiki>#REDIRECT[[:Category:</nowiki><nowiki>]]</nowiki> instead.}}[[Category:Broken category redirects|-]]
|#default = <!-- go crazy and transclude a category instead
  -->{{Category:{{{1}}}}} [[Category:Broken category redirects|-]]
}}<!-- detection of bad {{{category}}}:
-->{{#switch:notdefined
|notdefined=<!--parameter is not defined at all-->
|=<!--parameter is defined but empty to avoid adding categories: due to next possiblity this is a bad way to do-->
|#default=<!--parameter is defined not empty. That is bad, the value will be displayed-->[[Category:Pages with incorrect template usage|Category redirect]]
}}


== Logo Hunting ==
== Logo Hunting ==
checkuser, Administrators
2,635

edits