Jump to content

Template:Myprefs/doc

Unchecked
From Wikipedia

Usage

[edit]

This template creates a link to Special:Preferences with an optional link to a particular tab and an optional name.

The first unnamed optional parameter is for the tab; either the tab name or the corresponding number may be used:

NumberTab nameOutput
0User profilePreferences User profile
1AppearancePreferences Appearance
2Date and timePreferences Date and time
3EditingPreferences Editing
4Recent changesPreferences Recent changes
5WatchlistPreferences Watchlist
6SearchPreferences Search
7MiscPreferences Misc
9GadgetsPreferences Gadgets
10NotificationsPreferences Notifications
8Pending changesPreferences Pending changes
11BetaPreferences Beta features
11MiscPreferences Misc
Note: MW1.19 swapped the order of Gadgets and Pending changes.

The second unnamed optional parameter adds an arrow followed by the parameter text— this is for the full name of the setting. The text formatted to set it off from any other text in the sentence.

The third unnamed optional parameter adds an equals followed by the parameter text— this is for the value of the setting. The text formatted to set it off from any other text in the sentence.

Examples

[edit]
  • {{myprefs|9|Disable smaller font sizes of elements such as Infoboxes, Navboxes and References lists}}
  • Preferences Gadgets → Disable smaller font sizes of elements such as Infoboxes, Navboxes and References lists
  • {{myprefs|8|Basic interface|Use small icons and minimal text to show review status of pages}}
  • Preferences Pending changes → Basic interface = Use small icons and minimal text to show review status of pages

See also

[edit]