Template:Edit Notice: Difference between revisions

From RosieSoCrossing
Created page with "{{Notice Box |primarycolor = #7a7e9f |secondarycolor = #d3d6de |textcolor = #f0f1f4 |shadowcolor = #575e75 |leftimage = 28px|link= |rightimage = |header = {{#if:{{{link|}}}|This {{lc:{{NAMESPACE}}}} has an associated edit notice|{{{header|Before you edit...}}}}} |message = {{#if:{{{link|}}}|You can find it here: https://www.mediawiki.org/wiki/Manual:Interface/Edit_notice MediaWiki. *Edit notices are often used..."
 
(No difference)

Latest revision as of 13:03, 8 September 2025

{{#if:|This template has an associated edit notice|Before you edit...}}
{{#if:|You can find it here: [MediaWiki].
  • Edit notices are often used to provide special instructions to editors before making changes to high-use pages.| }}

{{#ifexist: Template:Edit Notice/doc

|

Template documentation (view)


Usage

{{Edit Notice|Please do good stuff and not bad stuff.}}

This template is used as a notice that goes above the edit box when an editor is modifying a particular page.

You can set up an edit notice on a particular page through MediaWiki's Edit Notice interface. Every page can have a specific notice via "MediaWiki:Editnotice-N-Title", where "N" is again the namespace number (see table below). Note that slashes (/) are replaced by hyphens (-). For example, "MediaWiki:Editnotice-2-Joe-Sandbox" corresponds to both "User:Joe-Sandbox" as well as "User:Joe/Sandbox".

The optional link parameter can be used to generate a default message, and link to the Edit Notice associated with the page, if any.

Built-in namespaces

Index Name Talk
0 (Main) Talk 1
2 User User talk 3
4 RosieSoCrossing RosieSoCrossing talk 5
6 File File talk 7
8 MediaWiki MediaWiki talk 9
10 Template Template talk 11
12 Help Help talk 13
14 Category Category talk 15

Examples

{{Edit Notice|Please do good stuff and not bad stuff.}}
Before you edit...
Please do good stuff and not bad stuff.
{{Edit Notice|link=true}}
{{#if:true|This template has an associated edit notice|Before you edit...}}
{{#if:true|You can find it here: [MediaWiki].
  • Edit notices are often used to provide special instructions to editors before making changes to high-use pages.| }}

| No documentation for Template:Edit Notice exists. Create it.}}