ಟೆಂಪ್ಲೇಟು:Myprefs/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

Usage[ಬದಲಾಯಿಸಿ]

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
8 Pending changes Preferences → Pending changes
11 Beta Preferences → Beta features
11 Misc Preferences → 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[ಬದಲಾಯಿಸಿ]

  • {{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
  • {{Myprefs|1|Diffs|check=Omit diff after performing a rollback}}
  • Preferences → Appearance → Diffs → check Omit diff after performing a rollback
  • {{Myprefs|1|Diffs|uncheck=Do not show page content below diffs}}
  • Preferences → Appearance → Diffs → uncheck Do not show page content below diffs

See also[ಬದಲಾಯಿಸಿ]