« Modèle:Pp-template » : différence entre les versions

De wikarphy
m 55 revisions from w:en:Template:Pp-template
corrected icon rollover text
Ligne 7 : Ligne 7 :
   |sysop=indef
   |sysop=indef
   |move=move
   |move=move
   |#default=indef<!--fallback value-->}}
  |templateeditor=template
   |#default=template<!--fallback value-->}}
|small={{{small|yes}}}
|small={{{small|yes}}}
|right={{{right|}}}
|right={{{right|}}}
Ligne 14 : Ligne 15 :
|expiry=<!--not applicable-->
|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 {{pp-meta/pagetype}} }} is permanently {{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
   |semi
   |semi
   |autoconfirmed=semi-protected from editing
   |autoconfirmed=semi-protected from editing
Ligne 21 : Ligne 22 :
   |full
   |full
   |sysop
   |sysop
   |#default=<!--fallback value-->protected from editing}} to prevent vandalism.
  |templateeditor
   |#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}}}}}
Ligne 29 : Ligne 31 :
   |full
   |full
   |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
   |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
  |templateeditor=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
   |#default=<!--fallback value-->}}
   |#default=<!--fallback value-->}}
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
   |#default=[[Wikipedia:High-risk templates|high-risk {{pp-meta/pagetype}}]]
}} 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}}}}}}}
   |semi
   |semi
Ligne 37 : Ligne 40 :
   |administrator
   |administrator
   |full
   |full
   |sysop<!--uses default-->
   |sysop
   |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
  |templateeditor<!--uses default-->
   |#default=<!--fallback value-->permanently<nowiki> </nowiki>}}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<!--uses default-->
   |sysop
  |templateeditor<!--uses default-->
   |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}}}
   |#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}}}}}}}
Ligne 51 : Ligne 56 :
   |administrator
   |administrator
   |full
   |full
   |sysop<!--uses default-->
   |sysop
  |templateeditor<!--uses default-->
   |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
   |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
   |semi
   |semi
Ligne 57 : Ligne 63 :
   |administrator
   |administrator
   |full
   |full
   |sysop<!--uses default-->
   |sysop
  |templateeditor<!--uses default-->
   |#default=Protected<!--fallback value-->}} images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
   |#default=Protected<!--fallback value-->}} images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{pp-template|categories=no}}  <!-- Show the small version -->
{{pp-template|categories=no}}  <!-- Show the small version -->

Version du 23 octobre 2013 à 00:53

Modèle:Pp-meta Modèle:Pp-meta

Documentation du modèle

{{#if:|

[[Category:Template documentation pages{{#translation:}}]] }}