Difference between revisions of "Template:Edit Notice/doc"

From Nookipedia, the Animal Crossing wiki
(Creating)
 
(Updating documentation)
Line 7: Line 7:
  
 
You can set up an edit notice on a particular page through [[mw:Manual:Interface/Edit notice|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".
 
You can set up an edit notice on a particular page through [[mw:Manual:Interface/Edit notice|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 <code>link</code> parameter can be used to generate a default message, and link to the Edit Notice associated with the page, if any.
  
 
===Built-in namespaces===
 
===Built-in namespaces===
Line 56: Line 58:
 
|}
 
|}
  
===Example===
+
===Examples===
 
<pre>
 
<pre>
 
{{Edit Notice|Please do good stuff and not bad stuff.}}
 
{{Edit Notice|Please do good stuff and not bad stuff.}}
Line 72: Line 74:
 
}}
 
}}
  
 +
<pre>
 +
{{Edit Notice|link=true}}
 +
</pre>
 +
 +
{{Edit Notice
 +
|link=true
 +
}}

Revision as of 17:33, May 16, 2020

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 Nookipedia Nookipedia 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.}}


Lloid NL.png
Before you edit...
Please do good stuff and not bad stuff.
Lloid NL.png
Before you edit...
Please do good stuff and not bad stuff.


{{Edit Notice|link=true}}


Lloid NH.png
This template has an associated edit notice
You can find it here: MediaWiki:Editnotice-10-Edit Notice/doc.
  • Edit notices are often used to provide special instructions to editors before making changes to high-use pages.
Lloid NH.png
This template has an associated edit notice
You can find it here: MediaWiki:Editnotice-10-Edit Notice/doc.
  • Edit notices are often used to provide special instructions to editors before making changes to high-use pages.