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

m Reverted edits by 36.71.142.135 (talk) to last version by Clump
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
Ligne 1 : Ligne 1 :
<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude>
{{#switch:{{#invoke:Effective protection level|edit|{{FULLPAGENAME}}}}
{{documentation}}
|*=[[Category:Pages with incorrect protection templates]]
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|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}}]]
}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Version du 18 juillet 2020 à 14:41

{{#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:}}]] }}