Difference between revisions of "Template:CheckboxList"

From The Al`Kabor Project Wiki
Jump to navigation Jump to search
(testing)
Line 1: Line 1:
<noinclude>
<noinclude>
Template for a checklist. Use to create boxes that can be checked off when obtained.</noinclude>
<noinclude>Template for a checklist. Use to create boxes that can be checked off when obtained.</noinclude>
 
----
<includeonly>
<includeonly>
<!-- Default unchecked -->
<div class="checkbox-list">
<div class="custom-control custom-checkbox">
</includeonly><noinclude>
    <input type="checkbox" class="custom-control-input" id="defaultUnchecked">
===Usage===
    <label class="custom-control-label" for="defaultUnchecked">Default unchecked</label>
<nowiki>{{CheckboxList}}</nowiki><br>
</div>
<nowiki>* Item A</nowiki><br>
</includeonly>
<nowiki>* Item B</nowiki><br>
 
<nowiki>* Item C</nowiki><br>
<noinclude>
===Example===
<nowiki>{{Checklist}}</nowiki><br>
<nowiki>* Item 1</nowiki><br>
<nowiki>* Item 2</nowiki><br>
<nowiki>* Item 3</nowiki><br>
<nowiki>{{End}}</nowiki>
<nowiki>{{End}}</nowiki>


[[Category:Templates]]
[[Category:Templates]]</noinclude>
</noinclude>
</noinclude>

Revision as of 17:01, 2 December 2019

Template for a checklist. Use to create boxes that can be checked off when obtained.

Usage

{{CheckboxList}}
* Item A
* Item B
* Item C
{{End}}