Difference between revisions of "Template:Pp-meta"

From FamilyTree
Jump to navigation Jump to search
(Created page with "{{#ifeq:{{#switch:{{lc:{{{type}}}}} |move=<!-- -->{{#ifeq: {{#switch:{{lc:{{{demolevel|undefined}}}}} |semi |autoconfirmed=autoconfirmed |a...")
 
Line 1: Line 1:
 
{{#ifeq:{{#switch:{{lc:{{{type}}}}}
 
{{#ifeq:{{#switch:{{lc:{{{type}}}}}
   |move=&lt;!--
+
   |move=<!--
  --&gt;{{#ifeq:
+
  -->{{#ifeq:
 
       {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
       {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
         |semi
 
         |semi
Line 9: Line 9:
 
         |sysop=sysop
 
         |sysop=sysop
 
         |undefined={{PROTECTIONLEVEL:move}}
 
         |undefined={{PROTECTIONLEVEL:move}}
         |#default=&lt;!--fallback value: null
+
         |#default=<!--fallback value: null
   --&gt;}}
+
   -->}}
 
       |sysop|yes|no
 
       |sysop|yes|no
 
     }}
 
     }}
   |create=&lt;!--
+
   |create=<!--
  --&gt;{{#if:
+
  -->{{#if:
 
       {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
       {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
         |semi
 
         |semi
Line 22: Line 22:
 
         |sysop=sysop
 
         |sysop=sysop
 
         |undefined={{PROTECTIONLEVEL:create}}
 
         |undefined={{PROTECTIONLEVEL:create}}
         |#default=&lt;!--fallback value: null
+
         |#default=<!--fallback value: null
   --&gt;}}
+
   -->}}
 
       |yes|no
 
       |yes|no
 
     }}
 
     }}
|#default&lt;!--includes all other types--&gt;=&lt;!--
+
|#default<!--includes all other types-->=<!--
  --&gt;{{#if:
+
  -->{{#if:
 
       {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
       {{#switch:{{lc:{{{demolevel|undefined}}}}}
 
         |semi
 
         |semi
Line 35: Line 35:
 
         |sysop=sysop
 
         |sysop=sysop
 
         |undefined={{PROTECTIONLEVEL:edit}}
 
         |undefined={{PROTECTIONLEVEL:edit}}
         |#default=&lt;!--fallback value: null
+
         |#default=<!--fallback value: null
   --&gt;}}
+
   -->}}
 
       |{{#ifeq:{{#switch:{{lc:{{{disallowlevel|}}}}}
 
       |{{#ifeq:{{#switch:{{lc:{{{disallowlevel|}}}}}
 
                 |semi
 
                 |semi
Line 43: Line 43:
 
                 |full
 
                 |full
 
                 |sysop=sysop
 
                 |sysop=sysop
                 |#default=&lt;!--fallback value: null--&gt;}}
+
                 |#default=<!--fallback value: null-->}}
 
         |{{#switch:{{lc:{{{demolevel|undefined}}}}}
 
         |{{#switch:{{lc:{{{demolevel|undefined}}}}}
 
             |semi
 
             |semi
Line 51: Line 51:
 
             |sysop=sysop
 
             |sysop=sysop
 
             |undefined={{PROTECTIONLEVEL:edit}}
 
             |undefined={{PROTECTIONLEVEL:edit}}
             |#default=&lt;!--fallback value: null
+
             |#default=<!--fallback value: null
       --&gt;}}
+
       -->}}
 
         |no|yes
 
         |no|yes
 
       }}
 
       }}
 
   |no}}
 
   |no}}
 
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
&lt;div class=&quot;metadata topicon&quot; id=&quot;protected-icon&quot; style=&quot;display:none; right:55px;&quot;&gt;[[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
+
<div class="metadata topicon" id="protected-icon" style="display:none; right:55px;">[[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
  |full=Padlock.svg
 
  |full=Padlock.svg
 
  |semi=Padlock-silver-medium.svg
 
  |semi=Padlock-silver-medium.svg
Line 68: Line 68:
 
  |semi=semi-
 
  |semi=semi-
 
  |move=move-
 
  |move=move-
  |indef=permanently&lt;nowiki&gt; &lt;/nowiki&gt;
+
  |indef=permanently<nowiki> </nowiki>
 
  |create=creation-
 
  |create=creation-
  |office=&lt;!--null, but should this have a special tag?--&gt;
+
  |office=<!--null, but should this have a special tag?-->
 
  |full
 
  |full
  |#default=&lt;!--null--&gt;
+
  |#default=<!--null-->
}}protected{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&lt;nowiki&gt; &lt;/nowiki&gt;until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|&lt;nowiki&gt; &lt;/nowiki&gt;{{{icon-reason}}}}}.}}}|alt=Page {{#switch:{{lc:{{{type}}}}}
+
}}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-
 
  |semi=semi-
 
  |move=move-
 
  |move=move-
  |indef=permanently&lt;nowiki&gt; &lt;/nowiki&gt;
+
  |indef=permanently<nowiki> </nowiki>
 
  |create=creation-
 
  |create=creation-
  |office=&lt;!--null, but should this have a special tag?--&gt;
+
  |office=<!--null, but should this have a special tag?-->
 
  |full
 
  |full
  |#default=&lt;!--null--&gt;
+
  |#default=<!--null-->
}}protected]]&lt;/div&gt;
+
}}protected]]</div>
|&lt;!-- else, not small --&gt;
+
|<!-- else, not small -->
 
{{mbox  
 
{{mbox  
 
| demospace = {{{demospace|}}}
 
| demospace = {{{demospace|}}}
Line 97: Line 97:
 
  |semi=semi-
 
  |semi=semi-
 
  |move=move-
 
  |move=move-
  |indef=permanently&lt;nowiki&gt; &lt;/nowiki&gt;
+
  |indef=permanently<nowiki> </nowiki>
 
  |create=creation-
 
  |create=creation-
  |office=&lt;!--null, but should this have a special tag?--&gt;
+
  |office=<!--null, but should this have a special tag?-->
 
  |full
 
  |full
  |#default=&lt;!--null--&gt;
+
  |#default=<!--null-->
 
}}protected.}}}]]
 
}}protected.}}}]]
 
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
 
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
Line 110: Line 110:
 
  |office=This {{pagetype|subjectspace=yes}} is currently [[Wikipedia:This page is protected|protected]] from editing
 
  |office=This {{pagetype|subjectspace=yes}} is currently [[Wikipedia:This page is protected|protected]] from editing
 
  |create=[[Help:Starting a new page|Recreation]] of this {{pagetype|subjectspace=yes}} [[Wikipedia:This page is protected|has been disabled]]
 
  |create=[[Help:Starting a new page|Recreation]] of this {{pagetype|subjectspace=yes}} [[Wikipedia:This page is protected|has been disabled]]
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&amp;#32;until {{#time:F j, Y|{{{expiry}}}}}}}}}{{{reason&lt;includeonly&gt;|&lt;/includeonly&gt;}}}.}}}'''&lt;br /&gt; {{{explanation-text|{{#ifeq:{{lc:{{{dispute}}}}}|yes|This protection is '''not''' an endorsement of the {{#ifeq:{{{type}}}|move|[{{fullurl:Special:Log|type=move&amp;page={{FULLPAGENAMEE}}}} current title]|[{{fullurl:{{FULLPAGENAMEE}}|action=history}} current version]}}.}} See the [[Wikipedia:Protection policy|protection policy]] and [{{fullurl:Special:Log|type=protect&amp;page={{FULLPAGENAMEE}}}} protection log] for more details. {{#switch:{{lc:{{{type}}}}}
+
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&amp;#32;until {{#time:F j, Y|{{{expiry}}}}}}}}}{{{reason<includeonly>|</includeonly>}}}.}}}'''<br /> {{{explanation-text|{{#ifeq:{{lc:{{{dispute}}}}}|yes|This protection is '''not''' an endorsement of the {{#ifeq:{{{type}}}|move|[{{fullurl:Special:Log|type=move&amp;page={{FULLPAGENAMEE}}}} current title]|[{{fullurl:{{FULLPAGENAMEE}}|action=history}} current version]}}.}} See the [[Wikipedia:Protection policy|protection policy]] and [{{fullurl:Special:Log|type=protect&amp;page={{FULLPAGENAMEE}}}} protection log] for more details. {{#switch:{{lc:{{{type}}}}}
  |full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}|talk page]]; you may use the {{tlx|editprotected}} template to ask an [[Wikipedia:Administrator|administrator]] to make the edit if it is supported by [[Wikipedia:Consensus|consensus]]. {{#ifeq:{{NAMESPACE}}|{{ns:8}}&lt;!--MediaWiki--&gt;||You may also [[Wikipedia:Requests for page protection|request]] that this page be unprotected.}}
+
  |full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}|talk page]]; you may use the {{tlx|editprotected}} template to ask an [[Wikipedia:Administrator|administrator]] to make the edit if it is supported by [[Wikipedia:Consensus|consensus]]. {{#ifeq:{{NAMESPACE}}|{{ns:8}}<!--MediaWiki-->||You may also [[Wikipedia:Requests for page protection|request]] that this page be unprotected.}}
  |semi=If you cannot edit this {{pagetype|subjectspace=yes}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[Template:Editsemiprotected|request an edit]], [[{{TALKPAGENAME}}|discuss changes on the talk page]],}} [[Wikipedia:Requests for page protection#Current requests for unprotection|request unprotection]], [[Special:Userlogin|log in]], or &lt;span class=&quot;plainlinks&quot;&gt;[http://en.wikipedia.org/w/index.php?title=Special:Userlogin&amp;type=signup &lt;span style=&quot;color:#002bb8;&quot; title=&quot;Sign in / create account&quot;&gt;create an account&lt;/span&gt;].
+
  |semi=If you cannot edit this {{pagetype|subjectspace=yes}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[Template:Editsemiprotected|request an edit]], [[{{TALKPAGENAME}}|discuss changes on the talk page]],}} [[Wikipedia:Requests for page protection#Current requests for unprotection|request unprotection]], [[Special:Userlogin|log in]], or <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Special:Userlogin&amp;type=signup <span style="color:#002bb8;" title="Sign in / create account">create an account</span>].
 
  |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the [[{{TALKPAGENAME}}|talk page]] or at [[Wikipedia:Requested moves]].  You can also [[Wikipedia:Requests for page protection|request]] that the page be unprotected.   
 
  |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the [[{{TALKPAGENAME}}|talk page]] or at [[Wikipedia:Requested moves]].  You can also [[Wikipedia:Requests for page protection|request]] that the page be unprotected.   
 
  |office=If you are able to edit this page, please discuss all changes and additions on the [[{{TALKPAGENAME}}|talk page]] first. '''Do not remove protection from this article unless you are authorized by the Wikimedia Foundation to do so.'''
 
  |office=If you are able to edit this page, please discuss all changes and additions on the [[{{TALKPAGENAME}}|talk page]] first. '''Do not remove protection from this article unless you are authorized by the Wikimedia Foundation to do so.'''
Line 118: Line 118:
 
}}}}}
 
}}}}}
 
}}
 
}}
}}|[[Category:Wikipedia pages with incorrect protection templates]]}}&lt;!--End if small--&gt;&lt;includeonly&gt;{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}&lt;/includeonly&gt;&lt;noinclude&gt;
+
}}|[[Category:Wikipedia pages with incorrect protection templates]]}}<!--End if small--><includeonly>{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly><noinclude>
  
 
{{documentation}}
 
{{documentation}}
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
&lt;/noinclude&gt;
+
</noinclude>

Revision as of 16:07, 10 October 2010


[create] 50px Template documentation