Template:User notification preference/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Usage[edit source]

This template to indicate his/her preference for being notified of a reply (to any talk page except the user's own talk page). It can be placed at the top of a user's talk page, user page, and/or edit notice. Other users should respect the user's preference by only posting talkback templates if the user indicates so.

This template should not be substituted so that it can receive automatic updates when it is changed.

This basic code:

{{User notification preference|talkback}}

Produces this:

This user prefers to be notified by talkback templates. Please post a talkback message when you reply to this user.


For echo, use this code:

{{User notification preference|echo}}

Produces this:

This user prefers to be notified by notifications. Please use {{ping}} or {{reply to}} when you reply to this user. No talkback messages are needed.


For watchlist, use this code:

{{User notification preference|watchlist}}

Produces this:

This user prefers to be notified by their watchlist. No talkback messages are needed.


Parameters[edit source]

{{User notification preference|talkback|background=CSS color|border=CSS color|align=center|rounded=no/yes|extra-style=|possessive=}}
  • The first default parameter is the notification preference itself. Possible values are: talkback (default), echo, or watchlist.
  • The "background" parameter, if not included, defaults to #E0E8EF (dark gray, see Web colors#Hex triplet)
  • The "border" parameter, if not included, also defaults to #E0E8EF.
  • The "align" parameter, if not included, defaults to center.
  • The "rounded" parameter, if not included, defaults to no.
  • The "extra-style" parameter, if not included, does not add any extra styles.
  • The "possessive" parameter, if not included, defaults to their. Possible values are: his, her, or their (default).