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

Replacing with new version that does not use Module:Protection banner, and is much simpler, only including features that are actually used on MediaWiki.org
A red padlock does not properly indicate a fully protected page.
Ligne 2 : Ligne 2 :
|*=[[Category:Pages with incorrect protection templates]]
|*=[[Category:Pages with incorrect protection templates]]
|autoconfirmed={{#tag:indicator|[[File:Semi-protection-shackle-no-text.svg|20px|link=Project:Protected page|alt=Permanently protected {{module other|module|template}}|This high-risk {{module other|module|template}} is permanently semi-protected to prevent vandalism]]|name="pp-default"}}[[Category:{{module other|Modules subject to page protection|Semi-protected templates}}|{{PAGENAME}}]]
|autoconfirmed={{#tag:indicator|[[File:Semi-protection-shackle-no-text.svg|20px|link=Project:Protected page|alt=Permanently protected {{module other|module|template}}|This high-risk {{module other|module|template}} is permanently semi-protected to prevent vandalism]]|name="pp-default"}}[[Category:{{module other|Modules subject to page protection|Semi-protected templates}}|{{PAGENAME}}]]
|sysop={{#tag:indicator|[[File:Full-protection-shackle-red.svg|20px|link=Project:Protected page|alt=Permanently protected {{module other|module|template}}|This high-risk {{module other|module|template}} is permanently protected to prevent vandalism]]|name="pp-default"}}[[Category:{{module other|Modules subject to page protection|Fully protected templates}}|{{PAGENAME}}]]
|sysop={{#tag:indicator|[[File:Full-protection-shackle-no-text.svg|20px|link=Project:Protected page|alt=Permanently protected {{module other|module|template}}|This high-risk {{module other|module|template}} is permanently protected to prevent vandalism]]|name="pp-default"}}[[Category:{{module other|Modules subject to page protection|Fully protected templates}}|{{PAGENAME}}]]
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Version du 13 décembre 2020 à 03:00

{{#switch:Erreur Lua dans Module:Effective_protection_level à la ligne 46 : attempt to index field 'TitleBlacklist' (a nil value). |*= |autoconfirmed=[[Category:{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Modèle|Module
   | module
   | other
   }}
 }}

| module = Modules subject to page protection | other | #default = Semi-protected templates }}|Pp-template]] |sysop=[[Category:{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Modèle|Module
   | module
   | other
   }}
 }}

| module = Modules subject to page protection | other | #default = Fully protected templates }}|Pp-template]] }}

Documentation du modèle

{{#if:|

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