Difference between revisions of "Template:Edit Notice/doc"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Creating) |
AlexBot2004 (talk | contribs) m (→Examples) |
||
(One intermediate revision by one other user not shown) | |||
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: | ||
|} | |} | ||
− | === | + | ===Examples=== |
<pre> | <pre> | ||
{{Edit Notice|Please do good stuff and not bad stuff.}} | {{Edit Notice|Please do good stuff and not bad stuff.}} | ||
Line 66: | Line 68: | ||
|textcolor = #f0f1f4 | |textcolor = #f0f1f4 | ||
|shadowcolor = #575e75 | |shadowcolor = #575e75 | ||
− | |leftimage = [[File:Lloid | + | |leftimage = [[File:Lloid NH.png|28px|link=]] |
|rightimage = | |rightimage = | ||
|header = Before you edit... | |header = Before you edit... | ||
Line 72: | Line 74: | ||
}} | }} | ||
+ | <pre> | ||
+ | {{Edit Notice|link=true}} | ||
+ | </pre> | ||
+ | |||
+ | {{Edit Notice | ||
+ | |link=true | ||
+ | }} |
Latest revision as of 15:50, September 8, 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.}}
Before you edit...
Please do good stuff and not bad stuff.
Before you edit...
Please do good stuff and not bad stuff.
{{Edit Notice|link=true}}
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.
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.