Difference between revisions of "Template:Pp-template"

From FamilyTree
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{pp-meta
+
&lt;includeonly&gt;{{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<!--fallback value-->}}
+
   |#default=indef&lt;!--fallback value--&gt;}}
 
|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=<!--not applicable-->
+
|expiry=&lt;!--not applicable--&gt;
 
|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=<!--fallback value-->protected from editing}} to prevent vandalism.
+
   |#default=&lt;!--fallback value--&gt;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=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
+
   |sysop=&lt;nowiki&gt; &lt;/nowiki&gt;and/or [[Special:Allmessages|system messages]],
   |#default=<!--fallback value-->}}
+
   |#default=&lt;!--fallback value--&gt;}}
 
   |#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<!--uses default-->
+
   |sysop&lt;!--uses default--&gt;
   |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
   |#default=&lt;!--fallback value--&gt;}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||&lt;nowiki&gt; &lt;/nowiki&gt;from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=
 
   |autoconfirmed=
 
   |administrator
 
   |administrator
 
   |full
 
   |full
   |sysop<!--uses default-->
+
   |sysop&lt;!--uses default--&gt;
   |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}}}
+
   |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=&lt;br /&gt;&lt;small&gt;'''Do not move this image''' to [[commons:|Wikimedia Commons]].&lt;/small&gt;}}}}
 
|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<!--uses default-->
+
   |sysop&lt;!--uses default--&gt;
   |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
   |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]&lt;!--fallback value--&gt;}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=Semi-protected
 
   |autoconfirmed=Semi-protected
 
   |administrator
 
   |administrator
 
   |full
 
   |full
   |sysop<!--uses default-->
+
   |sysop&lt;!--uses default--&gt;
   |#default=Protected<!--fallback value-->}} images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
+
   |#default=Protected&lt;!--fallback value--&gt;}} images|{{PAGENAME}}]]}}}}}}}&lt;/includeonly&gt;&lt;noinclude&gt;
{{pp-template|categories=no}}  <!-- Show the small version -->
+
{{pp-template|categories=no}}  &lt;!-- Show the small version --&gt;
{{pp-template|small=no}}      <!-- Show the large version -->
+
{{pp-template|small=no}}      &lt;!-- Show the large version --&gt;
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
</noinclude>
+
&lt;/noinclude&gt;

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 -->

[create] 50px Template documentation

<!-- 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 -->

[create] 50px Template documentation

<!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude> <!-- Show the large version -->

[create] 50px Template documentation

<!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>