Template:Checkmark: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(avoiding case sensitivity issues using "lc" (lowercase) parser function)
imported>Aggelakis (historical)
Line 23: Line 23:
{| class="wikitable" width="50%"
{| class="wikitable" width="50%"
! width="50%" | Input !! width="50%" | Results
! width="50%" | Input !! width="50%" | Results
|-
| <nowiki>{{Checkmark}}</nowiki> || {{Checkmark}}
|-
|-
| <nowiki>{{Checkmark|x}}</nowiki> || {{Checkmark|x}}
| <nowiki>{{Checkmark|x}}</nowiki> || {{Checkmark|x}}

Revision as of 19:38, 29 December 2011

Usage

Anywhere you need check boxes.

One variable:

  • X, x = an X/cross in the box
  • Check, check, Yes, yes, Y, y = a checkmark
  • No, no, N, n, Empty, empty = empty box


  • If no value is passed (do not use a pipe), it will return an X.
  • If a wrong value is passed, it will return a question mark.

Examples

Input Results
{{Checkmark}} Yes
{{Checkmark|x}} Yes
{{Checkmark|Check}} Yes
{{Checkmark|no}} No
{{Checkmark|Bob Dole}} No