Template:Contentious topics/page restriction editnotice base/doc

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
{	"params": { "topic": { "aliases": [ "t", "1"			],			"label": "The contentious topic code", "description": "What contentious topic applies to this page. Specified using a shorthand code listed on this template's documentation page.", "type": "string", "required": true },		"section": { "label": "Are only parts of this page covered", "description": "Whether only parts of this page are covered under the contentious topic restrictions. Set to yes to indicate that this is the case.", "type": "string", "default": "no" },		"expiry": { "label": "The expiry of the restriction on this page", "description": "The expiry of the restriction that has been placed on this page.", "type": "date", "default": "indefinite" },		"protection": { "label": "Protection level applied, if any", "description": "What kind of protection has been applied. Must be one of semi, ecp or full. Leave blank for no protection being applied.", "type": "string", "suggestedvalues": [ "semi", "ecp", "full" ]		},		"1RR": { "label": "Is the 1RR restriction active", "description": "Include any content to mark that the 1RR restriction is active." },		"0RR": { "label": "Is the 0RR restriction active", "description": "Include any content to mark that the 0RR restriction is active." },		"consensus-required": { "label": "Is the consensus required restriction active", "description": "Include any content to mark that the \"consensus required\" restriction is active." },		"BRD": { "label": "Is the BRD restriction active", "description": "Include any content to mark that the BRD restriction is active." },		"other": { "label": "Custom restriction(s)", "description": "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." },		"nocat": { "label": "Whether this template should add categories", "description": "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." },		"appendedcontent": { "label": "Content to be appended to the editnotice", "description": "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.", "type": "string" }	},	"description": " " }