Help:Editnotice: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>C.Syde65
m (Replaced http: with https: and .wikia.com with .fandom.com.)
(I'm gonna start writing this)
Line 1: Line 1:
'''Editnotices''' are large message boxes that are shown above the edit window when a user edits a page. This is often used to convey important notices and messages, such as warnings and reminders. The Sims Wiki has adopted a sophisticated editnotice system, modelled after the one used on Wikipedia, that allows for more flexibility with editnotices.
{{Nosharedhelp}}
'''Editnotices''' are messages displayed at the top of a page when you're editing it. Editnotices can only be set by [[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.


To set an editnotice create a new article at <code>MediaWiki:Editnotice-x</code> where <code>x</code> is the [[Help:Namespace|namespace number]].

For editnotices to individual pages, create a new article at <code>MediaWiki:Editnotice-x-pagename</code> with <code>x</code> as the namespace number like above and <code>pagename</code> is the name of the article, eg. <code>The_Sims_Wiki</code> or <code>Barnacle Bay</code>


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;">
<div style="float:right; margin-right:4px;">{{Edit|}}</div>
[[File:Info_information_icon.png|50px]] message
</div>
</pre>

;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;">
<div style="float:right; margin-right:4px;">{{Edit|}}</div>
[[File:Icon-warning-48x48.png]] message
</div>
</pre>

==See also==
*[https://sims.fandom.com/index.php?title=Special%3APrefixIndex&prefix=Editnotice&namespace=8 List of editnotices on The Sims Wiki]
*[[Help:Namespace]]

==External links==
*[[Wikipedia:Wikipedia:Editnotice|Wikipedia:Editnotice]]

Revision as of 17:02, 5 September 2019

Editnotices are large message boxes that are shown above the edit window when a user edits a page. This is often used to convey important notices and messages, such as warnings and reminders. The Sims Wiki has adopted a sophisticated editnotice system, modelled after the one used on Wikipedia, that allows for more flexibility with editnotices.