Template:Editnotice/doc

Usage
This template is a wrapper template for editnotices, notices that appear above the text area on edit pages. Editnotices can be per-namespace, per-book, or per-page.

To create a new editnotice, please follow the instructions at Help:Editnotices. See also standard editnotice templates at Category:Editnotice templates or for a user page insert



Note: All parameters are optional except .

Parameters

 * expiry date
 * optional HTML id
 * header text
 * CSS for header style
 * body text
 * CSS for text style
 * image
 * image on righthand side

Examples






Namespace key
0 – (Main) 1 – Talk: 2 – User: 3 – User talk: 4 – Wikibooks: 5 – Wikibooks talk: 6 – File: 7 – File talk: 8 – MediaWiki: 9 – MediaWiki talk: 10 – Template: 11 – Template talk: 12 – Help: 13 – Help talk: 14 – Category: 15 – Category talk: 102 – Cookbook: 103 – Cookbook talk: 108 - Transwiki: 109 - Transwiki talk: 110 - Wikijunior: 111 - Wikijunior talk: 112 - Subject: 113 - Subject talk:

Expiry date
The expiry parameter can be used to specify when an editnotice will cease to be visible on a page. This can be useful when an editnotice is created for reasons of a temporal nature. Any valid time format may be used, for example: To specify that an editnotice never expire, indefinite may be used.
 * January 2012
 * 4 April 2009
 * 11:09 April 5 2013

Editnotices created so far
See the list at Special:PrefixIndex/Template:Editnotices/.