Difference between revisions of "Template:Checkmark"

From Ouroboros Portal
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{lc:{{{1|}}}}}| | x=Yes | yes | y | check=Yes | empty | n | no=No | #default=[[Fi...")
 
(+parameter to alter size)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}|
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}|
| x=[[File:Cross.png|24px|Yes]]
+
| x=[[File:Cross.png|{{{2|24px}}}|Yes]]
 
| yes
 
| yes
 
| y
 
| y
| check=[[File:Check.png|26px|Yes]]
+
| check=[[File:Check.png|{{{2|26px}}}|Yes]]
 
| empty
 
| empty
 
| n
 
| n
| no=[[File:Empty.png|24px|No]]
+
| no=[[File:Empty.png|{{{2|24px}}}|No]]
 
| #default=[[File:Icon clue generic.png|24px|No]]}}</includeonly><noinclude>
 
| #default=[[File:Icon clue generic.png|24px|No]]}}</includeonly><noinclude>
 
== Usage==
 
== Usage==

Revision as of 08:10, 13 May 2012

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|x}} Yes
{{Checkmark|Check}} Yes
{{Checkmark|no}} No
{{Checkmark|Bob Dole}} ?