Template:Tick: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ safesubst:<noinclude/>#switch:{{ safesubst:<noinclude/>lc:{{{color|{{{colour|}}}}}} }} |green |grn |gn =File:Yes check.svg |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 |black...") |
No edit summary |
||
Line 1: | Line 1: | ||
[[{{ safesubst:<noinclude/>#switch:{{ safesubst:<noinclude/>lc:{{{color|{{{colour|}}}}}} }} | [[{{ safesubst:<noinclude/>#switch:{{ safesubst:<noinclude/>lc:{{{color|{{{colour|}}}}}} }} | ||
|green |grn |gn =File: | |green |grn |gn =File:UI Dark Green Check.svg | ||
|lightgreen |lgreen |lgrn |lgn =File: | |lightgreen |lgreen |lgrn |lgn =File:UI Green Check.svg | ||
|red |rd |r =File:Red | |red |rd |r =File:UI Red Check.svg | ||
|darkred |dkred |drd |dr =File:Check | |darkred |dkred |drd |dr =File:UI Dark Red Check.svg | ||
|pink |pnk |pk =File:Pink | |pink |pnk |pk =File:UI Pink Check.svg | ||
|orange |or |o =File:Check.svg | |orange |or |o =File:UI Orange Check.svg | ||
|yellow |yel |y =File:Yellow | |yellow |yel |y =File:UI Yellow Check.svg | ||
|black |blk |k =File:Black | |black |blk |k =File:UI Black Check.svg | ||
|blue |blu |u =File:Check | |blue |blu |u =File:UI Dark Blue Check.svg | ||
|lightblue |lblue |lblu |lb =File: | |lightblue |lblue |lblu |lb =File:UI Blue Check.svg | ||
|cyan |cy |c =File: | |cyan |cy |c =File:UI Cyan Check.svg | ||
|purple |pur |pu =File:Purple | |purple |pur |pu =File:UI Purple Check.svg | ||
|grey |gray |gry |gy =File: | |grey |gray |gry |gy =File:UI Semi-Transparent Check.svg | ||
|brown |brn |bn =File:Brown | |brown |brn |bn =File:UI Brown Check.svg | ||
<!--default--> |File: | <!--default--> |File:UI Dark Green Check.svg | ||
}}|{{ safesubst:<noinclude/>#if:{{{1|}}}|{{Str number/trim|{{{1}}}}}|20}}px|link=|alt={{#if:{{{alt|}}}|{{{alt}}}|check}}]]<span style="display:none">Y</span><!--template:tick--><noinclude> | }}|{{ safesubst:<noinclude/>#if:{{{1|}}}|{{Str number/trim|{{{1}}}}}|20}}px|link=|alt={{#if:{{{alt|}}}|{{{alt}}}|check}}]]<span style="display:none">Y</span><!--template:tick--><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:36, 3 November 2023
![]() | This template is used in system messages. Changes to it can cause immediate changes to the MediaWiki user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space.The tested changes can then be added in one single edit to this template. Please discuss any 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 ✓:
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this 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 |