Difference between revisions of "Template:Pp-meta"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m
m (24 revisions imported)
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>{{pp-template}}
 +
<br />
 +
==Example==</noinclude>
 
{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
<div class="metadata plainlinks topicon" id="protected-icon" style="position:absolute; z-index:100; right:55px; top:10px;">
 
<div class="metadata plainlinks topicon" id="protected-icon" style="position:absolute; z-index:100; right:55px; top:10px;">
Line 4: Line 7:
 
Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
  |full=Padlock.png
 
  |full=Padlock.png
  |semi=Padlock-silver-medium.png
+
  |semi=Padlock-silver.png
 
  |move=Padlock-olive.png
 
  |move=Padlock-olive.png
 
  |indef=Padlock-red.png
 
  |indef=Padlock-red.png
|office=Padlock-black.png
 
 
  |create=Padlock-skyblue.png
 
  |create=Padlock-skyblue.png
 
  |#default=Transparent.gif
 
  |#default=Transparent.gif
Line 16: Line 18:
 
  |indef=Permanently protected
 
  |indef=Permanently protected
 
  |create=Protected from creation
 
  |create=Protected from creation
|office=Protected by the Wikimedia Office
 
 
  |#default=<!--null-->
 
  |#default=<!--null-->
 
}}}}}
 
}}}}}
Line 24: Line 25:
 
  |indef=permanently<nowiki> </nowiki>
 
  |indef=permanently<nowiki> </nowiki>
 
  |create=creation-
 
  |create=creation-
|office=<!--null, but should this have a special tag?-->
 
 
  |full
 
  |full
 
  |#default=<!--null-->
 
  |#default=<!--null-->
Line 37: Line 37:
 
| image = [[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
| image = [[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 
  |full=Padlock.png
 
  |full=Padlock.png
  |semi=Padlock-silver-medium.png
+
  |semi=Padlock-silver.png
 
  |move=Padlock-olive.png
 
  |move=Padlock-olive.png
 
  |indef=Padlock-red.png
 
  |indef=Padlock-red.png
|office=Padlock-black.png
 
 
  |create=Padlock-skyblue.png
 
  |create=Padlock-skyblue.png
 
  |#default=Transparent.gif
 
  |#default=Transparent.gif
Line 48: Line 47:
 
  |indef=permanently<nowiki> </nowiki>
 
  |indef=permanently<nowiki> </nowiki>
 
  |create=creation-
 
  |create=creation-
|office=<!--null, but should this have a special tag?-->
 
 
  |full
 
  |full
 
  |#default=<!--null-->
 
  |#default=<!--null-->
 
}}protected.}}}]]
 
}}protected.}}}]]
 
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
 
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
  |full=This page is currently [[Wikipedia:This page is protected|protected]] from editing
+
  |full=This page is currently protected from editing
  |semi=Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by [[Wikipedia:User access levels#Autoconfirmed_users|new]] or [[Wikipedia:User access levels#Anonymous_users|unregistered]] users is currently [[Wikipedia:Protection policy|disabled]]
+
  |semi=Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by new or unregistered users is currently disabled
  |move=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently [[Wikipedia:This page is protected|protected]] from [[Help:Moving a page|page moves]]
+
  |move=This {{namespace detect
  |indef=This page is [[Wikipedia:This page is protected|protected]] from editing ''indefinitely''
+
  | demospace = {{{demospace|}}}
|office=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently [[Wikipedia:This page is protected|protected]] from editing
+
  | people
  |create=[[Help:Starting a new page|Recreation]] of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} [[Wikipedia:This page is protected|has been disabled]]
+
  | main      = article
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&#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&page={{FULLPAGENAMEE}}}} current title]|[{{fullurl:{{FULLPAGENAMEE}}|action=history}} current version]}}.}} See the [[Wikipedia:Protection policy|protection policy]] and [{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log] for more details. {{#switch:{{lc:{{{type}}}}}
+
  | talk      = talk page
  |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.}}
+
  | category  = category
  |semi=If you cannot edit this {{#switch:{{NAMESPACE}}|{{ns:0}}=article|{{ns:6}}=image|#default=page}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[{{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&type=signup <span style="color:#002bb8;" title="Sign in / create account">create an account</span>].
+
  | template  = template
  |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.   
+
  | plugin    = plugin
|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.'''
+
  | other    = page
  |create=Please see the {{#if:{{{xfd|}}}|'''[[{{{xfd}}}|deletion discussion]]''' or the}} [{{fullurl:Special:Log|type=delete&page={{FULLPAGENAMEE}}}} deletion log] for details of why this page was deleted. If you would like to create a page at this title, you must first [[Wikipedia:Requests for page protection|request]] for it to be unprotected, or for the deleted material to be restored via [[Wikipedia:Deletion review|deletion review]].
+
  }} is currently protected from page moves
 +
  |indef=This page is protected from editing ''indefinitely''
 +
  |create=[[Help:Starting a new page|Recreation]] of this {{namespace detect
 +
  | demospace = {{{demospace|}}}
 +
  | people
 +
  | main      = article
 +
  | talk      = talk page
 +
  | category  = category
 +
  | template  = template
 +
  | plugin    = plugin
 +
  | other    = page
 +
  }} [[Wikipedia:Wikipedia:This page is protected|has been disabled]]
 +
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&#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&page={{FULLPAGENAMEE}}}} current title]|[{{fullurl:{{FULLPAGENAMEE}}|action=history}} current version]}}.}} See the [[Wikipedia:Wikipedia:Protection policy|protection policy]] and [{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log] for more details. {{#switch:{{lc:{{{type}}}}}
 +
  |full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}|talk page]]; you may ask an [{{Fullurl:Special:UserList|type=editor}} editor] or a [{{fullurl:Special:UserList|type=moderator}} moderator] to make the edit if it is supported by consensus. {{#ifeq:{{NAMESPACE}}|{{ns:8}}<!--MediaWiki-->||You may also [[Project:Requests for page protection|request]] that this page be unprotected.}}
 +
  |semi=If you cannot edit this {{#switch:{{NAMESPACE}}|{{ns:0}}=article|{{ns:6}}=image|#default=page}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[{{TALKPAGENAME}}|discuss changes on the talk page]],}} [[Project:Requests for page protection#Current requests for unprotection|request unprotection]], [[Special:Userlogin|log in]], or <span class="plainlinks">[{{fullurl:Special:Userlogin|type=signup}} 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 [[Project:Requested moves]].  You can also [[Project:Requests for page protection|request]] that the page be unprotected.   
 +
  |create=Please see the deletion discussion''' or the [{{fullurl:Special:Log|type=delete&page={{FULLPAGENAMEE}}}} deletion log] for details of why this page was deleted. If you would like to create a page at this title, you must first [[Project:Requests for page protection|request]] for it to be unprotected, or for the deleted material to be restored via [[Project:Deletion review|deletion review]].
 
}}}}}
 
}}}}}
 
}}
 
}}
 
}}
 
}}
}}<!--End if small--><includeonly>{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly><noinclude>
+
}}<includeonly>{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly>
</noinclude>
 

Latest revision as of 15:48, 7 August 2019


Example