This page is protected against editing.

Template:Template protected

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Template protected/doc.

Explain template protection of pages on their not protected talk page

Usage

{{Template protected |1= |2= |3= }}

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

Explain template protection of pages on their not protected talk page

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Option 11

One of “heavily_used”, “doc” and “sandbox”

Suggested values
heavily_used doc sandbox
Stringsuggested
Option 22

One of “heavily_used”, “doc” and “sandbox”

Suggested values
heavily_used doc sandbox
Stringsuggested
Option 33

One of “heavily_used”, “doc” and “sandbox”

Suggested values
heavily_used doc sandbox
Stringsuggested
CSS stylestyle

Additional CSS style for the box, e.g. “width:60%” (without the quotes) to override the default 80% width

Stringoptional
Testcases?tc

Set to “n” if /sandbox subpage is used but /testcases is not

Auto value
n
Stringoptional

Additional information

The template is intended to be used in the following namespaces: all talk namespaces and noticeboards

The template is intended to be used by the following user groups: all users

Relies on:

See also

Localization

This template is not intended to be localized.

Localization is handled by {{permanently protected}}.

Examples

Use {{template protected}} on talk pages of template protected pages
example result
{{template protected|style=width:60%}}
{{template protected}}
{{template protected|doc}}
{{template protected|heavily_used}}
{{template protected|sandbox}}
{{template protected|sandbox|tc=n}}