Template:Tick/doc
| 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 is used in MediaWiki:movepage-moved, and on approximately 78,000 pages. Changes to it can cause immediate changes to the Wikipedia 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[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 | File:Light green check.svg | |
| 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 | |||
| purple | pur | pu | |||
| 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[edit source]
- TemplateData|TemplateData]] for this template used by TemplateWizard, [[Chabadpedia
- VisualEditor|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 |
See also[edit source]
| Check marks | Cross marks | ||
|---|---|---|---|
| {{tick}} = {{tick|20}} {{tick|colour=purple}} {{tick|color=cyan}} {{check mark}} |
{{cross}} = {{cross|20}} {{Cross|colour=orange}} {{Cross|color=black}} |
☒ ☒ ☒ | |
| {{aye}} and {{Y}} | {{nay}} and {{N}} | Red X | |
| {{ya}} | {{na}} | No | |
| {{yan}} | Yes | {{nan}} | No |
| {{check mark-n}} | Yes | {{x mark-n}} | No |
| {{y&}} | ✓ | {{n&}} | ✗ |
| {{Chk}} | ✓ | ||
| {{yeac}} | Green checkmark | {{nayc}} | Red X symbol |
| {{yeag}} | Gray check mark | {{nayg}} | Gray X symbol |
| {{Mby}} | {{nayd}} | Dark red X symbol | |
| {{checked box}} {{ticked box}} |
checked box | {{unchecked box}} {{unticked box}} |
unchecked box |
| {{xed box}} | X'ed box | {{unexed box}} | unchecked box |
| {{question mark box}} | ? | ||
| Other marks | |||
| {{n.b.}} | {{hmmm}} | Question | |
| {{bang}} | exclamation mark | {{idkc}} | Blue question mark |
| {{equc}} | Gray equals sign | {{cloc}} | |
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").
| |||
Inline icon templates by shape and color[edit source]
Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.
Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24".
Others[edit source]
Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24".
Multi-sign templates[edit source]
The following templates implement several icons:
- {{AIV}} – used by Chabadpedia:Administrator intervention against vandalism
- {{AN3}} - used by Chabadpedia:Administrators' noticeboard and its subpages
- {{BOTREQ}} - used by Chabadpedia:Bot requests
- {{CPC}} - used by Chabadpedia:Copyright problems
- {{CUI}} - used by CheckUsers
- {{EFFP}} – used by Chabadpedia:Edit filter/False positives
- {{EFR}} – used by Chabadpedia:Edit filter/Requested
- {{EP}} – used for servicing requests in edit-protected areas
- {{RFPP}} – used by Chabadpedia:Requests for page protection
- {{RFPC}}, {{RFPNPR}}, {{RFPPM}}, {{RFPR}} – used by subpages of Chabadpedia:Requests for permissions
- {{UAA}} – used by Chabadpedia:Usernames for administrator attention
- {{UND}} – used by Chabadpedia:Requests for undeletion
- {{Smiley}} – used for informal communication purposes
- {{Sym}} – Various commonly used symbols and icons
- {{Article history}}
Others[edit source]
- Template:Check mark templates, for templates like these but without text
- Template:Icon, a template that creates an inline icon/image that is used in metapages
- Chabadpedia:List of discussion templates, a more linear table of essentially the same set of templates
- Template:Resolved/See also, the smaller family of thread-level hatnote templates, similar to the above but with a box around them; any template above can be converted to one of those with {{Resbox}}
- Template:Table cell templates/doc, the family of table-specific templates that work only in tables
- Category:Image with comment templates
- Category:Resolution templates