Difference between revisions of "Template:Pp-meta"

From Deep Blue Robotics Wiki
Jump to: navigation, search
(importing from enwiki)
(categories should be here whether the doc's translations exist or not)
Line 168: Line 168:
 
}}|{{#ifeq:{{FULLPAGENAME}}|Template:Pp-meta|<!--nothing-->|[[Category:Wikipedia pages with incorrect protection templates]]}}}}<!--End if small--><includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}{{lc:{{{demolevel|undefined}}}}}|templateeditorundefined|{{#switch:{{NAMESPACE}}|Template|Module=|[[Category:Wikipedia template-protected pages other than templates and modules]]}}}}{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly><noinclude>
 
}}|{{#ifeq:{{FULLPAGENAME}}|Template:Pp-meta|<!--nothing-->|[[Category:Wikipedia pages with incorrect protection templates]]}}}}<!--End if small--><includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}{{lc:{{{demolevel|undefined}}}}}|templateeditorundefined|{{#switch:{{NAMESPACE}}|Template|Module=|[[Category:Wikipedia template-protected pages other than templates and modules]]}}}}{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly><noinclude>
  
{{documentation}}
+
{{ {{TNTN|documentation}} }}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
[[Category:Protection templates{{translation}}|*]]
 +
[[Category:Title templates{{translation}}|Pp-meta]]
 +
[[Category:Wikipedia metatemplates{{translation}}|Pp-meta]]
 +
[[Category:Exclude in print{{translation}}|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 22:22, 22 September 2015

{{#ifeq:{{#switch:{{{type}}}

 |move={{#ifeq:
     {{#switch:undefined
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:undefined
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |template={{#if:
     {{#switch:undefined
       |templateeditor |template      = templateeditor
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:undefined
       |pc1                           = autoconfirmed 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:undefined
       |pc2                           = review 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:undefined
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:undefined
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:|yes|

| Template:Mbox }}|{{#ifeq:Template:Pp-meta|Template:Pp-meta||}}}}

{{ Template:TNTN }} [[Category:Protection templates{{#ifeq:

 {{#titleparts:template:pp-meta|1|-1}}

| {{#titleparts:template:pp-meta|1|-1}} | | /{{#titleparts:Template:Pp-meta|1|-1}} }}|*]] [[Category:Title templates{{#ifeq:

 {{#titleparts:template:pp-meta|1|-1}}

| {{#titleparts:template:pp-meta|1|-1}} | | /{{#titleparts:Template:Pp-meta|1|-1}} }}|Pp-meta]] [[Category:Wikipedia metatemplates{{#ifeq:

 {{#titleparts:template:pp-meta|1|-1}}

| {{#titleparts:template:pp-meta|1|-1}} | | /{{#titleparts:Template:Pp-meta|1|-1}} }}|Pp-meta]] [[Category:Exclude in print{{#ifeq:

 {{#titleparts:template:pp-meta|1|-1}}

| {{#titleparts:template:pp-meta|1|-1}} | | /{{#titleparts:Template:Pp-meta|1|-1}} }}|Pp-meta]]