Template:Pp-move: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cenarium
simplify code with #switch
Ookami (talk | contribs)
m 52 revisions imported
 
(19 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{{pp-meta
<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude>
|type=move
{{documentation}}
|small={{{small|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|demospace={{{demospace|}}}
|expiry={{{expiry|}}}
|dispute=no
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
|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}}
{{pp-move|demospace=main|categories=no}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 04:24, 3 September 2020