Template:Pp-move: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cenarium
simplify code with #switch
meta>Cenarium
m Reverted edits by Cenarium (talk) to last version by MZMcBride
Line 1: Line 1:
<includeonly>{{pp-meta
<noinclude>{{pp-template|small=yes}}</noinclude><includeonly>{{pp-meta
|type=move
|type=move
|small={{{small|}}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|demospace={{{demospace|}}}
|expiry={{{expiry|}}}
|expiry={{{expiry|}}}
|dispute=no
|dispute=yes
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
|reason=&#32;{{#if:{{{expiry|}}}|or until|until}} disputes have been resolved on the [[:{{TALKPAGENAME}}|discussion page]]
|categories={{{categories|{{#switch: {{NAMESPACE}}
|icon-reason={{#if:{{{expiry|}}}|or until|until}} disputes have been resolved on the discussion page
| {{ns:2}}
|categories={{{categories|[[Category:Wikipedia move-protected pages|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}<includeonly></includeonly><noinclude>
| {{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}}
{{pp-move|demospace=main|categories=no}}
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 01:41, 15 January 2009

Template:Pp-meta