Template:Myprefs/doc

Usage
This template creates a link to Special:Preferences with an optional link to a particular tab, an optional setting name, and an optional value. There are also options to display an unchecked or checked box with user specified text. The output of this template is formatted to set it off from any other text in the sentence.



Parameters

 * 1 (unnamed)
 * The first unnamed optional parameter is for the tab; either the tab name or the corresponding number may be used. The names are not case senstive. The numbers may be used, but they no longer represent the current order as displayed in Preferences.
 * {| class="wikitable"

! Input !! Output 0 || 1 || 3 || 4 || 5 || 10 || 9 || Beta 11 ||
 * + Current tabs (in order displayed)
 * User profile
 * User profile
 * Appearance
 * Appearance
 * Editing
 * Editing
 * Recent changes
 * Recent changes
 * Watchlist
 * Watchlist
 * Notifications
 * Notifications
 * Gadgets
 * Gadgets
 * Beta features
 * Beta features
 * }
 * {| class="wikitable"

! Input !! Output !! Notes 2 || || These settings are now on the "Appearance" tab. 6 || || As shown, output is different when using number. 7 12 || || 8 || style="white-space:nowrap" |  || These settings are now on the "Recent changes" tab.
 * + Former tabs
 * Date and time
 * Date and time
 * Search
 * Search
 * Misc
 * Misc
 * style="white-space:nowrap" | Pending changes
 * style="white-space:nowrap" | Pending changes
 * }
 * Note: MW1.19 swapped the order of Gadgets and Pending changes.


 * 2 (unnamed)
 * The second unnamed optional parameter adds an arrow followed by the parameter text— this is for the full name of the setting.


 * 3 (unnamed)
 * The third unnamed optional parameter adds an equals followed by the parameter text— this is for the value of the setting.


 * uncheck
 * This optional parameter adds an arrow followed by an unchecked box and the parameter text. It will not be displayed if any value is assigned to the third unnamed parameter.


 * check
 * This optional parameter adds an arrow followed by a checked box and the parameter text. It will not be displayed if any value is assigned to the third unnamed parameter or to the uncheck parameter.

Examples