Template:Tick
Jump to navigation
Jump to search
| This template is used in MediaWiki:movepage-moved, and on approximately 69,000 pages. Changes to it can cause immediate changes to the NationStates Sports Wiki user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss 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
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 | Error creating thumbnail: | |
| red | rd | r | File:Red check.svg | ||
| darkred | dkred | drd | dr | File:Check-188-25-49-red.svg | |
| pink | pnk | pk | File:Pink check.svg | ||
| orange | or | o | File:Check.svg | ||
| yellow | yel | y | File:Yellow check.svg | ||
| blue | blu | u | File:Check-blue.svg | ||
| lightblue | lblue | lblu | lb | File:Cornflower blue check.svg | |
| cyan | cy | c | File:B-check.svg | ||
| purple | pur | pu | File:Purple check.svg | ||
| brown | brn | bn | File:Brown check.svg | ||
| black | blk | k | File:Black check.svg | ||
| grey | gray | gry | gy | File:SemiTransBlack v.svg | is actually semi-transparent |
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Tick in articles based on its 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 |