Difference between revisions of "Template:Pp-template"
(New page: <noinclude>{{pp-template|small=yes}} </noinclude><includeonly>{{pp-meta |type=indef |small={{{small|}}} |demospace={{{demospace|}}} |expiry=<!--not applicable--> |dispute=no |icon-text=Thi...) |
(No difference)
|
Latest revision as of 20:37, 29 May 2008
{{#ifeq:yes|yes|
|
{{#if:main | Template talk | talk | other
}} }} }} |
class="ambox ambox-protection metadata plainlinks" | main }} | class="messagebox standard-talk metadata plainlinks" | talk }} | other | class="messagebox protected metadata plainlinks" style="border:2px solid #99B; padding:0px; font-size:0.9em;" | other }}
}} |
{{#switch:
{{#if: |
main | Template talk | talk | other
}} }} }} |
| class="ambox-image" | | main }} | | | talk }} | other | | | other }}
}} [[Image:{{#switch: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|File|image, included in a high-risk template or message,|high-risk template}} is indefinitely protected from editing to prevent vandalism.]] |
{{#switch:
{{#if: |
main | Template talk | talk | other
}} }} }} |
class="ambox-text" | main }} | | talk }} | other | | other }}
}} style="v-align:center; align=left;" |This {{#switch:Template |
File=image, used in one or more high-risk templates and/or system messages, | #default=high-risk template
}} has been protected from editing to prevent vandalism. {{#switch:Template|File= |
indef=Please discuss any changes on the talk page; you may use the {{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.}} |
=article|File=image|#default=page}} and you wish to make a change, you can {{#ifeq:Template|Template talk | 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. | [[{{{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.
}} |
}}{{#ifeq:|no||}} {{#ifeq:|yes|
|
{{#if:main | Template talk | talk | other
}} }} }} |
class="ambox ambox-protection metadata plainlinks" | main }} | class="messagebox standard-talk metadata plainlinks" | talk }} | other | class="messagebox protected metadata plainlinks" style="border:2px solid #99B; padding:0px; font-size:0.9em;" | other }}
}} |
{{#switch:
{{#if: |
main | Template talk | talk | other
}} }} }} |
| class="ambox-image" | | main }} | | | talk }} | other | | | other }}
}} [[Image:{{#switch: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|File|image, included in a high-risk template or message,|high-risk template}} is indefinitely protected from editing to prevent vandalism.]] |
{{#switch:
{{#if: |
main | Template talk | talk | other
}} }} }} |
class="ambox-text" | main }} | | talk }} | other | | other }}
}} style="v-align:center; align=left;" |This {{#switch:Template |
File=image, used in one or more high-risk templates and/or system messages, | #default=high-risk template
}} has been protected from editing to prevent vandalism. {{#switch:Template|File= |
indef=Please discuss any changes on the talk page; you may use the {{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.}} |
=article|File=image|#default=page}} and you wish to make a change, you can {{#ifeq:Template|Template talk | 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. | [[{{{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.
}} |
}}{{#ifeq:no|no||no}}
||
|{{#ifexist: {{#switch: Pp-template
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Pp-template/doc
}}
|[[{{fullurl:{{#switch: Pp-template |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}}|action=edit}} edit]]
|[[{{fullurl:{{#switch: Pp-template |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}}
|This documentation is transcluded from [[{{#switch: Pp-template |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}}]]. ([{{fullurl:{{#switch: Pp-template
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Pp-template
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}}|action=history}} history])
}}{{#switch: Pp-template |sandbox|testcases= |#default= {{#switch: Template |Template |User= {{#ifexist: Template:Pp-template/sandbox |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: Template:Pp-template/testcases |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Pp-template/testcases |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:|{{{content}}}|{{#ifexist:{{#switch: Pp-template
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}} | {{ {{#switch: Pp-template
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Pp-template/doc
}} }} }}}}