Template:Contentious topics/page restriction editnotice base

{{#ifeq:{{Contentious topics/list|code exists={{{topic|{{{t|{{{1|}}}}}}}}}}}|yes|

{{editnotice

| style = background: var(--background-color-warning-subtle, #fdf2d5); color: inherit;

| expiry = {{{expiry|indefinite}}}

| image = File:Commons-emblem-hand.svg

| header =

You are subject to additional rules when you edit {{#ifeq:{{yesno|{{{section|}}}}}|yes|parts of }}this {{main other|article|page}}.

| headerstyle =font-size: 120%;

| redirect = {{{redirect|}}}

| textstyle =

| text = If you do not follow these rules, you may be blocked from editing:

{{ulist

|{{#if:{{{protection|}}}|{{#switch:{{{protection|}}}

| semi = You must be logged-in to an autoconfirmed or confirmed account (usually granted automatically to accounts with 10 edits and an age of 4 days)

| extendedconfirmed | ecp = You must be logged-in to an extended confirmed account (granted automatically to accounts with 500 edits and an age of 30 days)

| full = For a temporary period, only administrators may edit this {{main other|article|page}}

| {{error|Administrator must specify the level of protection as either semi, ecp, or full}}

}}

}}

|{{#if:{{{1RR|}}}|You may not make more than 1 revert within 24 hours on this {{main other|article|page}} (except in limited circumstances)|}}

|{{#if:{{{0RR|}}}|You may not make any reverts to this {{main other|article|page}} (except in limited circumstances)|}}

|{{#if:{{{consensus-required|}}}|Changes challenged by reversion may not be reinstated without affirmative consensus on the talk page|}}

|{{#if:{{{BRD|}}}|You must follow the bold-revert-discuss cycle if your change is reverted. You may not reinstate your edit until you post a talk page message discussing your edit and have waited 24 hours from the time of this talk page message|}}

|{{#if:{{{other|}}}|{{{other}}}{{#if:{{{nocat|}}}||Category:Wikipedia contentious topics with custom restrictions}}|}}

|{{#if:{{{protection|}}}{{{1RR|}}}{{{0RR|}}}{{{consensus-required|}}}{{{BRD|}}}{{{other|}}}||{{Error|Administrator must specify at least one restriction, otherwise you should use {{tl|Contentious topics/editnotice}}}}}}

}}

{{#ifeq:{{yesno|{{{section|}}}}}|yes|Parts of this {{main other|article|page}} relate|This {{main other|article|page}} is related}} to {{Contentious topics/list|scope={{{topic|{{{t|{{{1|}}}}}}}}}}}, a contentious topic. Pages related to this contentious topic are subject to additional rules as {{Contentious topics/list by the Arbitration Committee. Before editing, please familiarize yourself with the contentious topic policy. {{#ifeq:{{yesno|{{{section|}}}}}|yes|

If it is unclear which parts of the page are related to this contentious topic, the content in question should be marked within the wiki text by an invisible comment. If no comment is present, please ask an administrator for assistance. If in doubt it is better to assume that the content is covered.

}}{{#if:{{{nocat|}}}||{{sandbox other||{{PAGENAME}}}}}}

}}{{#if:{{{appendedcontent|}}}|{{{appendedcontent}}}}}

|{{Error|The code letter for the topic area in this discretionary sanctions editnotice is not recognised or declared. Please check the documentation.|tag=span}}{{#if:{{{nocat|}}}||{{sandbox other||{{PAGENAME}}}}}}}}

{{Contentious topics/page restriction editnotice base|a-a|1RR=T|protection=ecp}}

{{documentation}}