Template:Tick/doc
Appearance
| This is a documentation subpage for Template:Tick. It may contain usage information, categories and other content that is not part of the original template page. |
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 | File:Purple check.svg | ||
| 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 | ||
|---|---|---|---|
| {{tick}} = {{tick|20}} {{tick|colour=purple}} {{tick|color=cyan}} |
check |
{{cross}} = {{cross|20}} {{Cross|colour=orange}} {{Cross|color=black}} |
☒ ☒ |
| {{aye}} and {{Y}} | {{nay}} and {{N}} | ||
| {{ya}} | {{na}} | No | |
| {{yan}} | {{nan}} | No | |
| {{checked box}} | {{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").
| |||