Template:Pp-protected: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cenarium
using #switch instead of several #eq 's to reduce code size
Ookami (talk | contribs)
m 61 revisions imported
 
(22 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{{pp-meta
#REDIRECT [[Template:Pp]]
|type=full
 
|small={{{small|}}}
{{Rcat shell|
|demospace={{{demospace|}}}
{{R from move}}
|expiry={{{expiry|}}}
{{R from long name}}
|dispute=no
{{R with history}}
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
{{R for convenience}}
|categories={{{category|{{#switch: {{NAMESPACE}}
}}
| {{ns:2}}
[[Category:Top icon protection templates]]
| {{ns:3}} = [[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]
| {{ns:6}} = [[Category:Protected images]]
| {{ns:4}}
| {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
| {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
| #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
{{pp-template|small=yes}}
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 04:24, 3 September 2020

Redirect to: