Template:R protected: Difference between revisions
From All Skies Encyclopaedia
imported>Dsuke1998AEOS add {{R from incomplete name}} |
imported>Awesome Aasim WP:BOLD overwrite redirect with switching template for the purpose of making rcat lives easier |
||
| Line 1: | Line 1: | ||
# | <includeonly>{{#switch:{{{protlevel|{{#invoke:effective protection level|edit|1={{{title|{{FULLPAGENAME}}}}}}}}}} | ||
|sysop={{r fully protected|nocat={{{nocat|}}}}}{{pp-protected|small=yes|category={{#ifeq:{{{nocat|}}}|true|no|yes}}}} | |||
|templateeditor={{r template-protected|nocat={{{nocat|}}}}}{{pp-template|small=yes|category={{#ifeq:{{{nocat|}}}|true|no|yes}}}} | |||
|extendedconfirmed={{r extended-protected|nocat={{{nocat|}}}}}{{pp-extended|small=yes|category={{#ifeq:{{{nocat|}}}|true|no|yes}}}} | |||
|autoconfirmed={{r semi-protected|nocat={{{nocat|}}}}}{{pp-semi|small=yes|category={{#ifeq:{{{nocat|}}}|true|no|yes}}}} | |||
|#default=<!-- Show nothing -->{{#ifeq:{{{nocat|}}}|true||[[Category:Wikipedia pages with incorrect protection templates]]}} | |||
}}</includeonly><noinclude> | |||
{{documentation|content=This template will automatically categorize redirects into their appropriate rcat protection category. For more information, please see the following rcats: | |||
* {{tl|r fully protected}} | |||
* {{tl|r template-protected}} | |||
* {{tl|r extended-protected}} | |||
* {{tl|r semi-protected}} | |||
{{ | == Usage == | ||
{{ | <syntaxhighlight lang="wikitext"> | ||
{{ | #REDIRECT [[(redirect target)]] | ||
{{ | |||
{{ | {{r protected}} | ||
</syntaxhighlight> | |||
== Examples == | |||
Fully protected: {{r protected|protlevel=sysop|nocat=true}} | |||
Template protected: {{r protected|protlevel=templateeditor|nocat=true}} | |||
Extended protected: {{r protected|protlevel=extendedconfirmed|nocat=true}} | |||
Semi protected: {{r protected|protlevel=autoconfirmed|nocat=true}} | |||
}} | }} | ||
</noinclude> | |||
Revision as of 22:49, 2 May 2024
This template will automatically categorize redirects into their appropriate rcat protection category. For more information, please see the following rcats:
- {{r fully protected}}
- {{r template-protected}}
- {{r extended-protected}}
- {{r semi-protected}}
Usage
#REDIRECT [[(redirect target)]]
{{r protected}}
Examples
Fully protected: Template:R fully protected Template protected: Template:R template-protected Extended protected: Template:R extended-protectedTemplate:Pp-extended Semi protected: Template:R semi-protected






