Template:Checklist
Revision as of 18:04, 3 October 2022 by Jacmob (talk | contribs) (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>")
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 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.
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.
|