Template:Study mode/doc
Use this template to insert a switch that toggles the study mode. The study mode:
- Enables the "read mode" to hide or minimize non-content elements (such as databoxes, menus, edit buttons, etc)
- Notifies the user if he or she navigates away from a given category and links back to a home page.
Example
[edit source]{{Study mode}}
Note! The study mode only works on content pages, so it won't work on this page.
See also
[edit source]- MediaWiki:Gadget-StudyMode.js - JavaScript of this template
Template data
[edit source]Use this template to insert a switch that toggles the study mode.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category | category | Category that if the user leaves, will trigger a notification.
| String | optional |
| Home | home | Page to link if the user leaves the category.
| Page name | optional |