Difference between revisions of "* Template:Pp-meta"

From eagle-rock.org
(Replaced content with "Category:Deleted Pages")
 
Line 1: Line 1:
{{#ifeq:{{#switch:{{lc:{{{type}}}}}
+
[[Category:Deleted Pages]]
  |move=<!--
 
-->{{#ifeq:
 
      {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
        |semi
 
        |autoconfirmed=autoconfirmed
 
        |administrator
 
        |full
 
        |sysop=sysop
 
        |undefined={{PROTECTIONLEVEL:move}}
 
        |#default=<!--fallback value: null
 
  -->}}
 
      |sysop|yes|no
 
    }}
 
  |create=<!--
 
-->{{#if:
 
      {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
        |semi
 
        |autoconfirmed=autoconfirmed
 
        |administrator
 
        |full
 
        |sysop=sysop
 
        |undefined={{PROTECTIONLEVEL:create}}
 
        |#default=<!--fallback value: null
 
  -->}}
 
      |yes|no
 
    }}
 
|#default<!--includes all other types-->=<!--
 
-->{{#if:
 
      {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
        |semi
 
        |autoconfirmed=autoconfirmed
 
        |administrator
 
        |full
 
        |sysop=sysop
 
        |undefined={{PROTECTIONLEVEL:edit}}
 
        |#default=<!--fallback value: null
 
  -->}}
 
      |{{#ifeq:{{#switch:{{lc:{{{disallowlevel|}}}}}
 
                |semi
 
                |autoconfirmed=autoconfirmed
 
                |administrator
 
                |full
 
                |sysop=sysop
 
                |#default=<!--fallback value: null-->}}
 
        |{{#switch:{{lc:{{{demolevel|undefined}}}}}
 
            |semi
 
            |autoconfirmed=autoconfirmed
 
            |administrator
 
            |full
 
            |sysop=sysop
 
            |undefined={{PROTECTIONLEVEL:edit}}
 
            |#default=<!--fallback value: null
 
      -->}}
 
        |no|yes
 
      }}
 
  |no}}
 
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
<div class="metadata topicon" id="protected-icon" style="display:none; right:55px;">[[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
|full=Padlock.svg
 
|semi=Padlock-silver.svg
 
|move=Padlock-olive.svg
 
|indef=Padlock-red.svg
 
|office=Padlock-black.svg
 
|create=Padlock-skyblue.svg
 
|#default=Transparent.gif
 
}}}}}|20px|link={{{icon-link|Wikipedia:Protection policy#{{lc:{{{type}}}}}}}}|{{{icon-text|This {{pp-meta/pagetype}} is {{#switch:{{lc:{{{type}}}}}
 
|semi=semi-
 
|move=move-
 
|indef=permanently<nowiki> </nowiki>
 
|create=creation-
 
|office=<!--null, but should this have a special tag?-->
 
|full
 
|#default=<!--null-->
 
}}protected{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}|alt=Page {{#switch:{{lc:{{{type}}}}}
 
|semi=semi-
 
|move=move-
 
|indef=permanently<nowiki> </nowiki>
 
|create=creation-
 
|office=<!--null, but should this have a special tag?-->
 
|full
 
|#default=<!--null-->
 
}}protected]]</div>
 
|<!-- else, not small -->
 
{{mbox
 
| demospace = {{{demospace|}}}
 
| type = protection
 
| image = [[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
|full=Padlock.svg
 
|semi=Padlock-silver.svg
 
|move=Padlock-olive.svg
 
|indef=Padlock-red.svg
 
|office=Padlock-black.svg
 
|create=Padlock-skyblue.svg
 
|#default=Transparent.gif
 
}}}}}|40px|{{{icon-text|This page is {{#switch:{{lc:{{{type}}}}}
 
|semi=semi-
 
|move=move-
 
|indef=permanently<nowiki> </nowiki>
 
|create=creation-
 
|office=<!--null, but should this have a special tag?-->
 
|full
 
|#default=<!--null-->
 
}}protected.}}}]]
 
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
 
 
 
<includeonly>{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly><noinclude>
 
 
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 22:13, 2 February 2012