Template:Checklist

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:21, 17 October 2024 (Created page with "<includeonly><div class="lighttable checklist {{#if: {{{notoggleparent|}}} | no-toggle-parent }} {{#if: {{{smallindent|}}} | smallindent }}">{{#if: {{{title|}}} | <p style="font-weight: bold; margin-left: 1.5em; margin-bottom: .25em">{{{title}}}</p> }} {{{1}}} </div>{{Ctg|Pages with a checklist}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

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