Help:Editnotice: Difference between revisions

added examples
imported>Duskey
(Created page with '{{Nosharedhelp}} '''Editnotices''' are messages displayed at the top of a page when you're editing it. Editnotices can only be set by [[{{SITENAME}}:Administrators|]]. They are l…')
 
imported>Duskey
(added examples)
Line 1:
{{Nosharedhelp}}
'''Editnotices''' are messages displayed at the top of a page when you're editing it. Editnotices can only be set by [[{{SITENAME}}The Sims Wiki:Administrators|Administrators]]. They are located in the [[Help:MediaWiki namespace|MediaWiki namespace]] and can be set for either all pages in a namespace or for individual articles.
 
 
Line 9:
 
When creating a new editnotice, please use the div's below. When making an editnotice it is best to be brief, but if your message is long, consider left-aligning the image by adding <code>|left</code> and then clear to the left (<code><nowiki>{{clrl}}</nowiki></code>) or the image will clip outside the div on widescreen resolutions.
 
 
;Information editnotice
Add the full page name after the <code>|</code> pipe in the [[Template:Edit|edit template]] eg. <code>MediaWiki-6</code>. Replace <code>message</code> with your message. Example: [[MediaWiki:Editnotice-6]]
<pre>
<div style="border:1px solid black; background:#EEEEEE; padding:5px;">
Line 20 ⟶ 21:
 
;Warning editnotice
Add the full page name after the <code>|</code> pipe in the [[Template:Edit|edit template]] eg. <code>MediaWiki-6</code>. Replace <code>message</code> with your message. Example: [[MediaWiki:Editnotice-0-The Sims Wiki]]
<pre>
<div style="border:1px solid #E83232; background:#FFDDCC; padding:5px;">
Anonymous user