Template:Checklist/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:21, 17 October 2024 (Created page with "{{Documentation}} 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 <code>lighttable</code> class. * The first unnamed parameter is required and only takes unordered..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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

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