Template:Pp-move: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Cenarium update categories |
meta>Cenarium simplify code with #switch |
||
Line 6: | Line 6: | ||
|dispute=no | |dispute=no | ||
|reason={{#if:{{{reason|}}}| because {{lcfirst:{{{reason|}}}}}}} | |reason={{#if:{{{reason|}}}| because {{lcfirst:{{{reason|}}}}}}} | ||
|categories={{{categories| | |categories={{{categories|{{#switch: {{NAMESPACE}} | ||
{{# | | {{ns:2}} | ||
| {{ns:3}} = [[Category:Wikipedia move-protected user and user talk pages|{{PAGENAME}}]] | |||
| {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]] | |||
{{ | | {{ns:4}} | ||
| {{ns:12}} = [[Category:Wikipedia move-protected project pages|{{PAGENAME}}]] | |||
| {{ns:10}} = [[Category:Wikipedia semi-protected templates|{{PAGENAME}}]] | |||
| #default = {{talk other|[[Category:Semi-protected talk pages|{{PAGENAME}}]]|[[Category:Wikipedia move-protected pages|{{PAGENAME}}]]}}}}{{#if:{{{expiry|}}}||[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}<includeonly></includeonly><noinclude>{{pp-template|small=yes}} | |||
{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}<includeonly></includeonly><noinclude>{{pp-template|small=yes}} | |||
{{pp-move|demospace=main|categories=no}} | {{pp-move|demospace=main|categories=no}} | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |