Difference between revisions of "Template:Checkmark"
From Paragon Wiki Archive
(avoiding case sensitivity issues using "lc" (lowercase) parser function) |
m (→Examples) |
||
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}} | |
{{Checkmark|x}} | |
{{Checkmark|Check}} | |
{{Checkmark|no}} | |
{{Checkmark|Bob Dole}} |