Difference between revisions of "Template:CheckboxList"

From The Al`Kabor Project Wiki
Jump to navigation Jump to search
(testing)
 
(3 intermediate revisions by the same user not shown)
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>
<!-- Default unchecked -->
<div class="custom-control custom-checkbox">
    <input type="checkbox" class="custom-control-input" id="defaultUnchecked">
    <label class="custom-control-label" for="defaultUnchecked">Default unchecked</label>
</div>
</includeonly>
 
<noinclude>
===Example===
<nowiki>{{Checklist}}</nowiki><br>
<nowiki>* Item 1</nowiki><br>
<nowiki>* Item 2</nowiki><br>
<nowiki>* Item 3</nowiki><br>
<nowiki>{{End}}</nowiki>
 
[[Category:Templates]]
</noinclude>
 
______________________________
<noinclude>
<noinclude>Template for a checkbox list, which can be checked and have the checked status stored in the user's local storage (ie. saved on their computer).</noinclude>
<includeonly>
<includeonly>
<div class="checkbox-list">
<div class="checkbox-list">
Line 34: Line 10:
<nowiki>* Item C</nowiki><br>
<nowiki>* Item C</nowiki><br>
<nowiki>{{End}}</nowiki>
<nowiki>{{End}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
</noinclude>

Latest revision as of 17:18, 2 December 2019

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

Usage[edit]

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