Template:Checklist/doc

From [N8]
Revision as of 22:30, 2 June 2020 by Banri (talk | contribs) (Created page with "{{Documentation}} This template creates a checklist. It relies on the gadgets MediaWiki:Gadget-checkboxList.js and MediaWiki:Gadget-checkboxList.css. ==Usage== Chec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Checklist.
It contains usage information, categories, and other content that is not part of the original template page.

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 title parameter is optional and allows you to add a heading to the checklist.
  • The style parameter is optional and allows you to add inline CSS to the parent div (not the individual list items).
  • The notoggleparent parameter is optional and stops the parent checkbox being toggled when all the children are checked.

Example

{{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