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 25: Line 25:


===Quick links to creating editnotices===
===Quick links to creating editnotices===
{| class="wikitable" style="width: 95%; margin: 0px auto;"
|-
! style="width: 75px;"| Namespace number !! style="width: 125px;"| Namespace !! style="width: 275px;"| Namespace editnotice !! Create page editnotice
|-
|-
| style="height: 50px;"|0 || Main: (article) || [[Template:Editnotices/Namespace/Main]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|1 || Talk: (article talk) || [[Template:Editnotices/Namespace/Talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|2 || User: || [[Template:Editnotices/Namespace/User]] || <inputbox>
break=no
type=create
buttonlabel=Create your own user page notice
prefix=Special:MyPage/Editnotice
preload=Template:Editnotice/preload
hidden=yes
</inputbox>
<inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/User:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|3 || User talk: || [[Template:Editnotices/Namespace/User talk]] || <inputbox>
break=no
type=create
buttonlabel=Create your own user talk page notice
prefix=Special:MyTalk/Editnotice
preload=Template:Editnotice/preload
hidden=yes
</inputbox>
<inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/User talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|4 || The Sims Wiki: || [[Template:Editnotices/Namespace/The Sims Wiki]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/The Sims Wiki:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|5 || The Sims Wiki talk: || [[Template:Editnotices/Namespace/The Sims Wiki talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/The Sims Wiki talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|6 || File: || [[Template:Editnotices/Namespace/File]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/File:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|7 || File talk: || [[Template:Editnotices/Namespace/File talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/File talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|8 || MediaWiki: || [[Template:Editnotices/Namespace/MediaWiki]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/MediaWiki:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|9 || MediaWiki talk: || [[Template:Editnotices/Namespace/MediaWiki talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Mediawiki talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|10 || Template: || [[Template:Editnotices/Namespace/Template]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Template:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|11 || Template talk: || [[Template:Editnotices/Namespace/Template talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Template talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|12 || Help: || [[Template:Editnotices/Namespace/Help]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Help:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|13 || Help talk: || [[Template:Editnotices/Namespace/Help talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Help talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|14 || Category: || [[Template:Editnotices/Namespace/Category]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Category:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|15 || Category talk: || [[Template:Editnotices/Namespace/Category talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Category talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|110 || Forum: || [[Template:Editnotices/Namespace/Forum]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Forum:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|111 || Forum talk: || [[Template:Editnotices/Namespace/Forum talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Forum talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|274 || Widget: || [[Template:Editnotices/Namespace/Widget]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Widget:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|275 || Widget talk: || [[Template:Editnotices/Namespace/Widget talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Widget talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|710 || TimedText: || [[Template:Editnotices/Namespace/TimedText]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/TimedText:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|711 || TimedText talk: || [[Template:Editnotices/Namespace/TimedText talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/TimedText talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|828 || Module: || [[Template:Editnotices/Namespace/Module]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Module:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|829 || Module talk: || [[Template:Editnotices/Namespace/Module talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Module talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|3000 || Fanon: || [[Template:Editnotices/Namespace/Fanon]] || <inputbox>
break=no
type=create
buttonlabel=Create your own fanon page notice
prefix=Fanon:
preload=Template:Editnotice/preload
default=<your fanon name here>/Editnotice
</inputbox>
|-
| style="height: 50px;"|829 || Fanon talk: || [[Template:Editnotices/Namespace/Fanon talk]] || <inputbox>
break=no
type=create
buttonlabel=Create your own fanon talk page notice
prefix=Fanon talk:
preload=Template:Editnotice/preload
default=<your fanon name here>/Editnotice
</inputbox>
|}

Revision as of 20:51, 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

Namespace number Namespace Namespace editnotice Create page editnotice
0 Main: (article) Template:Editnotices/Namespace/Main
1 Talk: (article talk) Template:Editnotices/Namespace/Talk
2 User: Template:Editnotices/Namespace/User
3 User talk: Template:Editnotices/Namespace/User talk
4 The Sims Wiki: Template:Editnotices/Namespace/The Sims Wiki
5 The Sims Wiki talk: Template:Editnotices/Namespace/The Sims Wiki talk
6 File: Template:Editnotices/Namespace/File
7 File talk: Template:Editnotices/Namespace/File talk
8 MediaWiki: Template:Editnotices/Namespace/MediaWiki
9 MediaWiki talk: Template:Editnotices/Namespace/MediaWiki talk
10 Template: Template:Editnotices/Namespace/Template
11 Template talk: Template:Editnotices/Namespace/Template talk
12 Help: Template:Editnotices/Namespace/Help
13 Help talk: Template:Editnotices/Namespace/Help talk
14 Category: Template:Editnotices/Namespace/Category
15 Category talk: Template:Editnotices/Namespace/Category talk
110 Forum: Template:Editnotices/Namespace/Forum
111 Forum talk: Template:Editnotices/Namespace/Forum talk
274 Widget: Template:Editnotices/Namespace/Widget
275 Widget talk: Template:Editnotices/Namespace/Widget talk
710 TimedText: Template:Editnotices/Namespace/TimedText
711 TimedText talk: Template:Editnotices/Namespace/TimedText talk
828 Module: Template:Editnotices/Namespace/Module
829 Module talk: Template:Editnotices/Namespace/Module talk
3000 Fanon: Template:Editnotices/Namespace/Fanon
829 Fanon talk: Template:Editnotices/Namespace/Fanon talk