Template:Pp-create
From Textus Receptus
Nick (Talk | contribs)
(New page: <noinclude>{{pp-template|small=yes}}<!-- High visibility template --></noinclude><includeonly>{{pp-meta |type=create |small={{{small|}}} |demospace={{{demospace|}}} |demolevel={{{demolevel...)
Next diff →
Current revision
{{#ifeq:{{#switch:{{#switch:{{#ifeq:template:protectionlevel:edit-template:protectionlevel:move|-sysop|move|template:protectionlevel:edit}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:pp-create/template|pp-create/template|undefined|{{#ifeq:pp-create|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:move |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:pp-create/template|pp-create/template|undefined|{{#ifeq:pp-create|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:create |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:pp-create/template|pp-create/template|undefined|{{#ifeq:pp-create|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:edit |#default=}} |{{#ifeq:{{#switch: |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |#default=}} |{{#switch:{{#ifeq:pp-create/template|pp-create/template|undefined|{{#ifeq:pp-create|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:edit |#default=}} |no|yes }} |no}}
}}|yes|{{#ifeq:yes|yes|
| {{
{{#switch: {{#if: | | {{#ifeq:template| | main | {{#ifeq:template|template talk | talk | template }} }} }}
| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox
}} | type = protection | image = [[Image:{{#switch:{{#switch:{{#ifeq:template:protectionlevel:edit-template:protectionlevel:move|-sysop|move|template:protectionlevel:edit}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=Padlock.svg |semi=Padlock-silver-medium.svg |move=Padlock-olive.svg |indef=Padlock-red.svg |office=Padlock-black.svg |create=Padlock-skyblue.svg |#default=Transparent.gif
}}|40px|This {{#ifeq:Template|Image|image, included in a high-risk template or message,|high-risk template}} is indefinitely {{#switch:{{#ifeq:Template:PROTECTIONLEVEL:edit-Template:PROTECTIONLEVEL:move|-sysop|move|Template:PROTECTIONLEVEL:edit}}
|semi |autoconfirmed=semi-protected from editing |move=move-protected |administrator |full |sysop |#default=protected from editing}} to prevent vandalism.]]
| imageright = | style = | textstyle = | text = This {{#switch:Template
|Image=image, used in one or more high-risk templates{{#switch:Template:PROTECTIONLEVEL:edit |semi |autoconfirmed= |administrator |full |sysop= and/or system messages, |#default=}} |#default=high-risk template
}} has been [[Wikipedia:This page is protected|{{#switch:{{#ifeq:Template:PROTECTIONLEVEL:edit-Template:PROTECTIONLEVEL:move|-sysop|move|Template:PROTECTIONLEVEL:edit}}
|semi |autoconfirmed=semi- |move=move- |administrator |full |sysop |#default=}}protected]]{{#ifeq:Template:PROTECTIONLEVEL:edit-Template:PROTECTIONLEVEL:move|-sysop|| from editing}} to prevent vandalism. {{#switch:Template:PROTECTIONLEVEL:edit |semi |autoconfirmed= |administrator |full |sysop |#default={{#switch:Template|Image=
Do not move this image to Wikimedia Commons.}}}}
{{#ifeq:no|yes|This protection is not an endorsement of the {{#ifeq:{{#switch:{{#ifeq:Template:PROTECTIONLEVEL:edit-Template:PROTECTIONLEVEL:move|-sysop|move|Template:PROTECTIONLEVEL:edit}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|current title|current version}}.}} See the protection policy and protection log for more details. {{#switch:{{#switch:{{#ifeq:template:protectionlevel:edit-template:protectionlevel:move|-sysop|move|template:protectionlevel:edit}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full|indef=Please discuss any changes on the talk page; you may use the {{{{#if:|subst:}}editprotected{{#if:|
|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} template to ask an administrator to make the edit if it is supported by consensus. {{#ifeq:Template|MediaWiki||You may also request that this page be unprotected.}}
|semi=If you cannot edit this {{#switch:Template|=article|Image=image|#default=page}} and you wish to make a change, you can {{#ifeq:Template|Template talk||request an edit, discuss changes on the talk page,}} request unprotection, log in, or create an account. |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the talk page or at Wikipedia:Requested moves. You can also request that the page be unprotected. |office=If you are able to edit this page, please discuss all changes and additions on the talk page first. Do not remove protection from this article unless you are authorized by the Wikimedia Foundation to do so. |create=Please see the {{#if:|[[{{{xfd}}}|deletion discussion]] or the}} deletion log for details of why this page was deleted. If you would like to create a page at this title, you must first request for it to be unprotected, or for the deleted material to be restored via deletion review.
}} | small = | smallimage = | smallimageright = | smalltext = }} }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:template:protectionlevel:edit-template:protectionlevel:move|-sysop|move|template:protectionlevel:edit}}
|semi |autoconfirmed={{#ifeq:template:protectionlevel:move|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:template|image|[[category:{{#switch:template:protectionlevel:edit |semi |autoconfirmed=semi-protected |administrator |full |sysop |#default=protected}} images|pp-create]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:Template:PROTECTIONLEVEL:edit-Template:PROTECTIONLEVEL:move|-sysop|move|Template:PROTECTIONLEVEL:edit}} |semi |autoconfirmed={{#ifeq:Template:PROTECTIONLEVEL:move|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:Template|Image|[[Category:{{#switch:Template:PROTECTIONLEVEL:edit |semi |autoconfirmed=Semi-protected |administrator |full |sysop |#default=Protected}} images|Pp-create]]}}}}
{{#ifeq:{{#switch:create
|move={{#ifeq: {{#switch:full |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:move |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:full |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:create |#default=}} |yes|no }}
|#default={{#if:
{{#switch:full |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:edit |#default=}} |{{#ifeq:{{#switch: |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |#default=}} |{{#switch:full |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined=Template:PROTECTIONLEVEL:edit |#default=}} |no|yes }} |no}}
}}|yes|{{#ifeq:|yes|
| {{
{{#switch: {{#if:main | main | {{#ifeq:template| | main | {{#ifeq:template|template talk | talk | template }} }} }}
| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox
}} | type = protection | image = [[Image:{{#switch:create
|full=Padlock.svg |semi=Padlock-silver-medium.svg |move=Padlock-olive.svg |indef=Padlock-red.svg |office=Padlock-black.svg |create=Padlock-skyblue.svg |#default=Transparent.gif
}}|40px|This page is {{#switch:create
|semi=semi- |move=move- |indef=permanently |create=creation- |office= |full |#default=
}}protected.]] | imageright = | style = | textstyle = | text = {{#switch:create
|full=This page is currently protected from editing |semi=Editing of this {{#ifeq:Template||article|page}} by new or unregistered users is currently disabled |move=This {{#ifeq:Template||article|page}} is currently protected from page moves |indef=This page is protected from editing indefinitely |office=This {{#ifeq:Template||article|page}} is currently protected from editing |create=Recreation of this {{#ifeq:Template||article|page}} has been disabled
}}{{#ifeq:create|indef||{{#if:| until {{#time:F j, Y|}}}}}} due to repeated recreation of deleted material.
{{#ifeq:no|yes|This protection is not an endorsement of the {{#ifeq:create|move|current title|current version}}.}} See the protection policy and protection log for more details. {{#switch:create
|full|indef=Please discuss any changes on the talk page; you may use the {{{{#if:|subst:}}editprotected{{#if:|
|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} template to ask an administrator to make the edit if it is supported by consensus. {{#ifeq:Template|MediaWiki||You may also request that this page be unprotected.}}
|semi=If you cannot edit this {{#switch:Template|=article|Image=image|#default=page}} and you wish to make a change, you can {{#ifeq:Template|Template talk||request an edit, discuss changes on the talk page,}} request unprotection, log in, or create an account. |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the talk page or at Wikipedia:Requested moves. You can also request that the page be unprotected. |office=If you are able to edit this page, please discuss all changes and additions on the talk page first. Do not remove protection from this article unless you are authorized by the Wikimedia Foundation to do so. |create=Please see the {{#if:Wikipedia:Articles for deletion/Example|deletion discussion or the}} deletion log for details of why this page was deleted. If you would like to create a page at this title, you must first request for it to be unprotected, or for the deleted material to be restored via deletion review.
}} | small = | smallimage = | smallimageright = | smalltext = }} }}|}}{{#ifeq:no|no||no}} {{#if:main||{{#ifexist:Template:Pp-create|}}}}
||
|{{#ifexist: {{#switch: Pp-create
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Pp-create/doc
}}
|[[{{fullurl:{{#switch: Pp-create |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}}|action=edit}} edit]] [
]|[[{{fullurl:{{#switch: Pp-create |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|Image:Template-info.svg Template documentation|Documentation}}}}
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}}
|This documentation is transcluded from [[{{#switch: Pp-create |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}}]]. ([{{fullurl:{{#switch: Pp-create
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Pp-create
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}}|action=history}} history])
}}{{#switch: Pp-create |sandbox|testcases= |#default= {{#switch: Template |Template |User= {{#ifexist: Template:Pp-create/sandbox |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: Template:Pp-create/testcases |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Pp-create/testcases |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:|{{{content}}}|{{#ifexist:{{#switch: Pp-create
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}} | {{ {{#switch: Pp-create
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-create/doc
}} }} }}}}