Help:Editnotice: Difference between revisions

no edit summary
(I'm gonna start writing this)
No edit summary
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.
 
==Creating editnotices==
Editnotices are usually created using the {{tl|Editnotice}} template, which uses {{tl|Metabox}} as its base, as is standard on The Sims Wiki. However, this is not a requirement, and editnotices can utilize any template, or even be in plain text.
 
Editnotices are stored as individual pages that are then [[Help:Transclusion|transcluded]] into the top of the page where they are needed. These pages can be [[Help:Editing|edited]] like any other page. In most cases, only [[Project:Administrators|administrators]] are able to create and edit editnotices, as they are part of the interface and subject to abuse.
 
There are three main types of editnotices:
* '''Namespace notices''': these are displayed for all pages in a given [[Help:Namespace|namespace]].
* '''Group notices''': these are displayed for a specified page and all of its [[Help:Subpage|subpages]].
* '''Page notices''': these are displayed for only a single page.
 
These three types of editnotices are all stored as subpages of [[Template:Editnotices]]. These are then further organized into subpages by type, and then by the namespace or page they are configured to appear on. For example:
 
* An editnotice placed on the page <code>[[Template:Editnotices/Namespace/Template]]</code> will be shown on all pages in the [[Help:Template|template namespace]].
* An editnotice placed on the page <code>Template:Editnotices/Group/Foo Bar</code> will be shown on the page [[Foo Bar]], and any of its subpages, such as [[Foo Bar/Baz]] and [[Foo Bar/Baz/Bee]].
* An editnotice placed on the page <code>Template:Editnotices/Page/FooBar</code> will only be shown on the page [[FooBar]].
 
===User, User talk, and Fanon editnotices===