Template:Tick/doc
![]() | This is a documentation subpage for Template:Tick. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{Cross}}
.
Usage
This template inserts an inline green tick or check (✓) image, indicating agreement (or other affirmatives: acceptance, completion, etc.). It is not for use in articles.
The tick image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:
{{tick|30}}
The |color=
or |colour=
parameter can be used to change the color of the ✓:
color codes | output | notes | |||
---|---|---|---|---|---|
green | grn | gn | ![]() |
the default | |
red | rd | r | ![]() |
||
blue | blu | u | ![]() |
||
purple | pur | pu | ![]() |
||
brown | brn | bn | ![]() |
||
black | blk | k | ![]() |
||
grey | gray | gry | gy | File:Grey check.svg |
TemplateData
TemplateData for Tick
A template that inserts a green (by default) tick (check mark) inline in the text
Parameter | Description | Type | Status | |
---|---|---|---|---|
Size | 1 | Sets the size of the tick mark
| Number | optional |
Color | color colour | Sets the color of the tick mark
| String | optional |
See also
Check marks | Cross marks | ||
---|---|---|---|
{{Aye }} and {{Y }} | ![]() |
{{Nay }} and {{N }} | ![]() |
{{Ya }} | Template:Ya | {{Na }} | Template:Na |
{{Checked box }} {{Ticked box }} |
Template:Checked box | {{Unchecked box }} {{Unticked box }} |
Template:Unchecked box |
Most of the templates above are fully sortable in a class="sortable" table (each check mark is assigned an undisplayed "Y" and each cross mark an undisplayed "N").
|