Template:Myprefs/doc
This is a documentation subpage for Template:Myprefs (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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:
Number | Tab name | Output |
---|---|---|
0 | User profile | Preferences → User profile |
1 | Appearance | Preferences → Appearance |
2 | Date and time | Preferences → Date and time |
3 | Editing | Preferences → Editing |
4 | Recent changes | Preferences → Recent changes |
5 | Watchlist | Preferences → Watchlist |
6 | Search | Preferences → Search |
7 | Misc | Preferences → Misc |
9 | Gadgets | Preferences → Gadgets |
10 | Notifications | Preferences → Notifications |
11 | Misc | Preferences → Misc |
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}}
- Preferences
{{myprefs|6}}
- Preferences → Search options
{{myprefs|Date and time}}
- Preferences → Date and time
{{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 → Misc → Basic interface = Use small icons and minimal text to show review status of pages
{{Myprefs|1|Diffs|check=Omit diff after performing a rollback}}
- Preferences → Appearance → Diffs → Omit diff after performing a rollback
{{Myprefs|1|Diffs|uncheck=Do not show page content below diffs}}
- Preferences → Appearance → Diffs → Do not show page content below diffs