Template:Protection banner/core

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Fully Protected This template has been fully protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Template documentationview · edit · history · purge ]

No description yet available.

Usage

{{protection banner/core |protlev= |reason= |note= }}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
lang

Default
{{int:lang}}
Stringoptional
note

Contentoptional
protlev

Suggested values
cascade-sysop sysop templateeditor autoconfirmed
Stringrequired
reason

Lineoptional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: no user group specified

Relies on:

Localization

This template is localized using Module:TNT. These translations are stored in Data:I18n/Protection banner.tab.

Examples

Default

Cascade Protected This template has been fully protected because it’s transcluded on one or more cascade protected pages.
Please discuss changes on the talk page or request unprotection.
Fully Protected This template has been fully protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Template Protected This template has been template protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Semi-protected This template has been semi-protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.

Custom

Cascade Protected This template has been cascade protected because custom reason.
custom note
Fully Protected This template has been fully protected because custom reason.
custom note
Template Protected This template has been template protected because custom reason.
custom note
Semi-protected This template has been semi-protected because custom reason.
custom note