Template documentationedit documentation
Use this template to insert a checkbox that can be easily checked/unchecked without editing the page. Changes to the checkboxes are saved in the background, so they will persist when you refresh the page. You can also check/uncheck the checkboxes by editing the page as usual, if you prefer.
Example[edit source]
Important! Changes to this example will not be saved unless you do it from the documentation page!
- Apples
- Bananas
- ✓ Oranges
Edit the documentation page to view or copy the wikitext of this example.
See also[edit source]
- MediaWiki:TemplateCheckbox.js - JavaScript of this template
- Template:Checkbox/styles.css - CSS of this template
Template data[edit source]
Use this template to create checkboxes that can be checked/unchecked without editing the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | 1 | State of the checkbox. Any value means "checked".
| String | suggested |