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 or per-article.

To create a new editnotice, please follow the instructions at WP:Editnotice. See also standard editnotice templates at Category:Editnotice templates or for a user page, use the template instead.

Syntax


Note: All parameters are optional, except for .

Parameters

 * expiry date
 * optional HTML id
 * header text
 * CSS for header style
 * body text
 * CSS for text style
 * image
 * size of image, e.g., 35px
 * image on righthand side
 * CSS class name for the entire editnotice
 * CSS values for the entire editnotice


 * ''Use only the name of the image file, so instead of " [[File:Wikipedia-logo-v2.svg]] ", use "Wikipedia-logo-v2.svg" following "image =".

If an editnotice targets a page that happens to be a redirect, the editnotice is categorized into the maintenance category. To suppress categorization, set yes explicitly. In almost all cases, this is not necessary.

Expiry date
The expiry parameter can be used to specify when an editnotice will cease to be visible on an article. 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

Examples






Namespace key
0 – (Main) 1 – Talk: 2 – User: 3 – User talk: 4 – Wikipedia: 5 – Wikipedia 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: 100 – Portal: 101 – Portal talk: 108 – Book: 109 – Book talk: 118 – Draft: 119 – Draft talk: 710 – TimedText: 711 – TimedText talk: 828 – Module: 829 – Module talk: