Difference between revisions of "Template:Pp-template"
Line 1: | Line 1: | ||
− | + | <includeonly>{{pp-meta | |
|type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | |type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | ||
|semi | |semi | ||
Line 7: | Line 7: | ||
|sysop=indef | |sysop=indef | ||
|move=move | |move=move | ||
− | |#default=indef | + | |#default=indef<!--fallback value-->}} |
|small={{{small|yes}}} | |small={{{small|yes}}} | ||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
|demolevel={{#ifeq:{{PAGENAME}}/{{NAMESPACE}}|{{SUBPAGENAME}}/{{ns:Template}}|{{{demolevel|undefined}}}|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|sysop|{{{demolevel|undefined}}}}}}} | |demolevel={{#ifeq:{{PAGENAME}}/{{NAMESPACE}}|{{SUBPAGENAME}}/{{ns:Template}}|{{{demolevel|undefined}}}|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|sysop|{{{demolevel|undefined}}}}}}} | ||
− | |expiry= | + | |expiry=<!--not applicable--> |
|dispute=no | |dispute=no | ||
|icon-text=This {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included in a high-risk template or message,|high-risk template}} is indefinitely {{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | |icon-text=This {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included in a high-risk template or message,|high-risk template}} is indefinitely {{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | ||
Line 20: | Line 20: | ||
|full | |full | ||
|sysop | |sysop | ||
− | |#default= | + | |#default=<!--fallback value-->protected from editing}} to prevent vandalism. |
|reason-text=This {{#switch:{{NAMESPACE}} | |reason-text=This {{#switch:{{NAMESPACE}} | ||
|{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]]{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]]{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | ||
Line 27: | Line 27: | ||
|administrator | |administrator | ||
|full | |full | ||
− | |sysop= | + | |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]], |
− | |#default= | + | |#default=<!--fallback value-->}} |
|#default=[[Wikipedia:High-risk templates|high-risk template]] | |#default=[[Wikipedia:High-risk templates|high-risk template]] | ||
}} has been [[Wikipedia:This page is protected|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | }} has been [[Wikipedia:This page is protected|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | ||
Line 36: | Line 36: | ||
|administrator | |administrator | ||
|full | |full | ||
− | |sysop | + | |sysop<!--uses default--> |
− | |#default= | + | |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|semi | |semi | ||
|autoconfirmed= | |autoconfirmed= | ||
|administrator | |administrator | ||
|full | |full | ||
− | |sysop | + | |sysop<!--uses default--> |
− | |#default={{#switch:{{NAMESPACE}}|{{ns:image}}= | + | |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}}} |
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | |categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | ||
|semi | |semi | ||
Line 50: | Line 50: | ||
|administrator | |administrator | ||
|full | |full | ||
− | |sysop | + | |sysop<!--uses default--> |
− | |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]] | + | |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|semi | |semi | ||
|autoconfirmed=Semi-protected | |autoconfirmed=Semi-protected | ||
|administrator | |administrator | ||
|full | |full | ||
− | |sysop | + | |sysop<!--uses default--> |
− | |#default=Protected | + | |#default=Protected<!--fallback value-->}} images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude> |
− | {{pp-template|categories=no}} | + | {{pp-template|categories=no}} <!-- Show the small version --> |
− | {{pp-template|small=no}} | + | {{pp-template|small=no}} <!-- Show the large version --> |
{{Documentation}} | {{Documentation}} | ||
− | + | <!-- Add categories and interwikis to the /doc subpage, not here! --> | |
− | + | </noinclude> |
Revision as of 15:47, 10 October 2010
<includeonly><!--fallback value--></includeonly><noinclude> <includeonly></includeonly><noinclude> Template loop detected: Template:Pp-template <!-- Show the small version --> Template loop detected: Template:Pp-template <!-- Show the large version -->
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
<!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude> <!-- Show the small version --> <includeonly><!--fallback value--></includeonly><noinclude> Template loop detected: Template:Pp-template <!-- Show the small version --> Template loop detected: Template:Pp-template <!-- Show the large version -->
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
<!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude> <!-- Show the large version -->
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
<!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>