Template:Checklist

From RuneRealm Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Checklist/doc. [edit] [history] [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.

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 window 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 window 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.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Can be used to create a checklist.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Checklist1

The content of the checklist.

Contentrequired
notoggleparentnotoggleparent

no description

Unknownoptional
smallindentsmallindent

no description

Unknownoptional
titletitle

Allows adding a heading to the checklist.

Example
Items required
Contentoptional