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
No edit summary
No edit summary
Line 18: Line 18:


===User, User talk, and Fanon editnotices===
===User, User talk, and Fanon editnotices===
Editnotices can also be displayed on one's own [[Help:User page|user page]], [[Help:User talk page|user talk page]], and [[Project:Fanon|fanon page]]. Unlike the other three main editnotices, anyone can create and edit them (in other words, you do not need to be an administrator to create and edit them), and they are not stored as subpages of <code>Template:Editnotices</code>, but as subpages of the user/fanon page in question. For instance:

* To create a userpage editnotice for [[User:Example]], edit the page <code>User:Example/Editnotice</code>.
* To create a user talk page editnotice for [[User talk:Example]], edit the page <code>User talk:Example/Editnotice</code>.
* To create a fanon editnotice for [[Fanon:Example]], edit the page <code>Fanon:Example/Editnotice</code>.

===Quick links to creating editnotices===

Revision as of 17:59, 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.

Creating editnotices

Editnotices are usually created using the {{Editnotice}} template, which uses {{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 transcluded into the top of the page where they are needed. These pages can be edited like any other page. In most cases, only 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 namespace.
  • Group notices: these are displayed for a specified page and all of its 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:

User, User talk, and Fanon editnotices

Editnotices can also be displayed on one's own user page, user talk page, and fanon page. Unlike the other three main editnotices, anyone can create and edit them (in other words, you do not need to be an administrator to create and edit them), and they are not stored as subpages of Template:Editnotices, but as subpages of the user/fanon page in question. For instance:

  • To create a userpage editnotice for User:Example, edit the page User:Example/Editnotice.
  • To create a user talk page editnotice for User talk:Example, edit the page User talk:Example/Editnotice.
  • To create a fanon editnotice for Fanon:Example, edit the page Fanon:Example/Editnotice.

Quick links to creating editnotices