Jump to content

Template:Contentious topics/page restriction editnotice base/doc

From Wikipedia, the free encyclopedia

This template is used as a base for all contentious topics editnotices that have page restrictions, such as topic specific editnotices. It should not be used directly.

Usage of this template will place the editnotice in Category:Wikipedia arbitration enforcement current sanctions unless nocat is set.

Usage

[edit]

Template parameters

ParameterDescriptionTypeStatus
The contentious topic codetopic t 1

What contentious topic applies to this page. Specified using a shorthand code listed on this template's documentation page.

Stringrequired
Are only parts of this page coveredsection

Whether only parts of this page are covered under the contentious topic restrictions. Set to yes to indicate that this is the case.

Default
no
Stringoptional
The expiry of the restriction on this pageexpiry

The expiry of the restriction that has been placed on this page.

Default
indefinite
Dateoptional
Protection level applied, if anyprotection

What kind of protection has been applied. Must be one of semi, ecp or full. Leave blank for no protection being applied.

Suggested values
semi ecp full
Stringoptional
Is the 1RR restriction active1RR

Include any content to mark that the 1RR restriction is active.

Unknownoptional
Is the 0RR restriction active0RR

Include any content to mark that the 0RR restriction is active.

Unknownoptional
Is the consensus required restriction activeconsensus-required

Include any content to mark that the "consensus required" restriction is active.

Unknownoptional
Is the BRD restriction activeBRD

Include any content to mark that the BRD restriction is active.

Unknownoptional
Custom restriction(s)other

Any content here will be displayed as a restriction. Use this for custom restrictions that don't match any other restriction types accounted for in this template.

Unknownoptional
Whether this template should add categoriesnocat

Any content in this parameter prevents this template adding categories to the editnotice page. Should only be used for demonstration purposes, and uses for articles should never use this parameter.

Unknownoptional
Content to be appended to the editnoticeappendedcontent

Content to be appended to the editnotice. Intended for use by custom topic specific editnotices. Shouldn't usually be a parameter in any template that uses this as a base.

Stringoptional