Template:Contentious topics/page restriction editnotice/doc

This template must be used as a editnotice on pages that have active contentious topic restrictions. When using this template you must specify what contentious topic this page is under using one of the decision codes, and also specify at least one restriction that has been placed on the page. If there are no active restrictions on the page then Template:Contentious topics/editnotice should be used instead.

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 },		"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" },		"section": { "label": "Are only parts of this page covered", "description": "Whether only parts of this page are covered under this contentious topic. Set to yes to indicate that this is the case.", "type": "string", "default": "no" },		"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." }	},	"description": " " }