Template:Checkbox

From Bohemia Interactive Community
Jump to navigation Jump to search

Usage

{{Checkbox|state|size}}

  • state: (Required) 1, check, checked, tick, ticked, y or yes for a green check, anything else for a red box
  • size: (Optional, default 20) size in px
Examples
Code Result
{{Checkbox}} -checkbox not defined-
{{Checkbox|no}} Ico none.png
{{Checkbox|yes}} Ico ok.png
{{Checkbox|perhaps}} Ico none.png
{{Checkbox|unchecked|5}} Ico none.png
{{Checkbox|checked|32}} Ico ok.png