Template:Template protected

Category:Talk message boxes
Template documentation[view · 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

Category:Templates using TemplateData

Explain template protection of pages on their not protected talk page

Template parameters

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}}.

Category:Templates not requiring internationalization

Examples

Use {{template protected}} on talk pages of template protected pages
example result
{{template protected|style=width:60%}} Category:Talk message boxes
{{template protected}} Category:Talk message boxes
{{template protected|doc}} Category:Talk message boxes
{{template protected|heavily_used}} Category:Talk message boxes
{{template protected|sandbox}} Category:Talk message boxes
{{template protected|sandbox|tc=n}} Category:Talk message boxes
Category:Protection templates Category:Talk header templates
Category:Protection templates Category:Talk header templates Category:Talk message boxes Category:Templates not requiring internationalization Category:Templates using TemplateData