Template:Checklist
Jump to navigation
Jump to search
Template documentation
This documentation is transcluded from Template:Checklist/doc. [edit] [purge]
This template creates a checklist. It relies on the gadgets MediaWiki:Gadget-checkboxList.js and MediaWiki:Gadget-checkboxList.css.
Usage
Checklists may be used when the player needs to complete a series of tasks in a mission or just general use in a to-do list on their user and/or sandbox page.
Do not use checklists if the list requires more than one column. These tables should use the standard lighttable class.
- The first unnamed parameter is required and only takes unordered lists, created with an asterisk (
*). - The
titleparameter is optional and allows you to add a heading to the checklist. - The
styleparameter is optional and allows you to add inline CSS to the parent div (not the individual list items). - The
notoggleparentparameter is optional and stops the parent checkbox being toggled when all the children are checked.
Examples
{{Checklist|title=Example heading|
* Go to Mars
* Buy 32 Martian Rocks
* Return to Earth
* Sell 32 Martian Rocks
* Return to Gemini Station
}}
Produces:
Example heading
- Go to Mars
- Buy 32 Martian Rocks
- Return to Earth
- Sell 32 Martian Rocks
- Return to Gemini Station
{{Checklist|title=Example heading|
*Complete first Objectives
** Go to Mars
** Buy 32 Martian Rocks
** Return to Earth
** Sell 32 Martian Rocks
** Return to Gemini Station
}}
Produces:
Example heading
- Complete first Objectives
- Go to Mars
- Buy 32 Martian Rocks
- Return to Earth
- Sell 32 Martian Rocks
- Return to Gemini Station