Template:Checklist/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
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.

Do not use checklists if the list requires more than one column, such Achievement Diary. 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 notoggleparent parameter is optional and stops the parent checkbox being toggled when all the children are checked.
  • The smallindent parameter is optional and reduces the indentation size of each nested level of checkboxes. An example of a smaller indentation can be seen in Template:Quest details.

Example

{{Checklist|title=Example heading|
* Use a mirror on the nearby pillar.
* Put a mirror in the pillar giving out the light, and reflect the light north.
* Walk north to the next pillar. Add a mirror and reflect the light west.
* Go west, add a mirror, and reflect the light south.
* Go south to the next pillar. Use your yellow crystal on it to dye the light yellow.
}}

Produces:

Example heading

  • Use a mirror on the nearby pillar.
  • Put a mirror in the pillar giving out the light, and reflect the light north.
  • Walk north to the next pillar. Add a mirror and reflect the light west.
  • Go west, add a mirror, and reflect the light south.
  • Go south to the next pillar. Use your yellow crystal on it to dye the light yellow.