Template:Pp-move: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>MZMcBride updated code |
meta>Cenarium update code per Wikipedia talk:Categorization#New protection category layout, also use standard reason for non-article pages |
||
Line 5: | Line 5: | ||
|expiry={{{expiry|}}} | |expiry={{{expiry|}}} | ||
|dispute=yes | |dispute=yes | ||
|reason= {{#if:{{{expiry|}}}|or until|until}} disputes have been resolved on the [[:{{TALKPAGENAME}}|discussion page]] | |reason={{#ifeq:{{NAMESPACE}}|{{ns:0}}| {{#if:{{{expiry|}}}|or until|until}} disputes have been resolved on the [[:{{TALKPAGENAME}}|discussion page]]}} | ||
|icon-reason={{#if:{{{expiry|}}}|or until|until}} disputes have been resolved on the discussion page | |icon-reason={{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#if:{{{expiry|}}}|or until|until}} disputes have been resolved on the discussion page}} | ||
|categories={{{categories|[[Category: | |categories={{{categories| | ||
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Move protected|{{PAGENAME}}]]}} | |||
{{#ifeq:{{NAMESPACE}}|{{ns:14}}|[[Category:Move protected|{{PAGENAME}}]]}} | |||
{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Move protected|{{PAGENAME}}]]}} | |||
{{#ifeq:{{NAMESPACE}}|{{ns:10}}|[[Category:Move protected|{{PAGENAME}}]]}} | |||
{{#ifeq:{{NAMESPACE}}|{{ns:4}}|[[Category:Move protected project pages|{{PAGENAME}}]]}} | |||
{{#ifeq:{{NAMESPACE}}|{{ns:12}}|[[Category:Move protected project pages|{{PAGENAME}}]]}} | |||
{{#ifeq:{{NAMESPACE}}|{{ns:2}}|[[Category:Move protected user and user talk pages|{{PAGENAME}}]]}} {{#ifeq:{{NAMESPACE}}|{{ns:3}}|[[Category:Move protected user and user talk pages|{{PAGENAME}}]]}} {{talk other|{{#ifeq:{{NAMESPACE}}|{{ns:3}}||[[Category:Move protected talk pages]]}}}} | |||
{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}<includeonly></includeonly><noinclude> | |||
{{pp-move|demospace=main|categories=no}} | {{pp-move|demospace=main|categories=no}} | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |