Template:Checkmark: Difference between revisions
Jump to navigation
Jump to search
imported>Aggelakis (Undo revision 251376 by Rugiel Checkmark is bigger due to the check going 2px outside the box, allowing the box to remain the same size as other boxes) |
imported>Sekoia (Undo revision 251378 by Aggelakis (talk) - The images were changed, they all have extra pixels in the upper right now.) |
||
Line 3: | Line 3: | ||
| yes | | yes | ||
| y | | y | ||
| check=[[File:Check.png|{{{2| | | check=[[File:Check.png|{{{2|24px}}}|Yes]] | ||
| empty | | empty | ||
| n | | n | ||
Line 18: | Line 18: | ||
*The second can change the size of the image | *The second can change the size of the image | ||
**The default size for | **The default size for all options is '''24px'''. | ||
*If no value is passed (do not use a pipe), it will return an X. | *If no value is passed (do not use a pipe), it will return an X. |
Latest revision as of 20:47, 4 September 2013
Usage
Anywhere you need check boxes.
This Template uses two (optional) variables:
- The first chooses the type of checkmark
- X, x = an X/cross in the box
- Check, check, Yes, yes, Y, y = a checkmark
- No, no, N, n, Empty, empty = empty box
- The second can change the size of the image
- The default size for all options is 24px.
- 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}} | |
{{Checkmark|Check}} | |
{{Checkmark|no}} | |
{{Checkmark|yes|16px}} | |
{{Checkmark|Bob Dole}} |