Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Checkmark"

From Paragon Wiki Archive
Jump to: navigation, search
(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}} Yes
{{Checkmark|x}} Yes
{{Checkmark|Check}} Yes
{{Checkmark|no}} No
{{Checkmark|Bob Dole}} No