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. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{Cross}}
.
Usage[edit source]
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 | ||
lightgreen | lgreen | lgrn | lgn | ||
red | rd | r | |||
darkred | dkred | drd | dr | ||
pink | pnk | pk | |||
orange | or | o | |||
yellow | yel | y | |||
blue | blu | u | |||
lightblue | lblue | lblu | lb | File:Cornflower blue check.svg | |
cyan | cy | c | |||
purple | pur | pu | |||
brown | brn | bn | File:Svg check.svg | ||
black | blk | k | |||
grey | gray | gry | gy | File:SemiTransBlack v.svg | is actually semi-transparent |
TemplateData[edit source]
See the monthly error report for this template.
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 |