Template:Check mark: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
(Created page with "{{Documentation subpage}} {{used in system|in MediaWiki:movepage-moved}} This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{tlx|Cross}}. ==Usage== This template inserts an inline green tick or check (''✓'') image, indicating agreement (or other affirmatives: acceptance, completion, etc.). {{strong|It is not for use in articles.}} The tick image defaults to 20px in size. To change the size, call with a p...")
 
(Redirected page to Template:Tick)
Tag: New redirect
 
Line 1: Line 1:
{{Documentation subpage}}
#REDIRECT [[Template:Tick]]
{{used in system|in [[MediaWiki:movepage-moved]]}}
 
This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{tlx|Cross}}.
 
==Usage==
This template inserts an inline green tick or check (''✓'') image, indicating agreement (or other affirmatives: acceptance, completion, etc.). {{strong|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:
: {{tnull|tick|'''30'''}}
 
The {{para|color}} or {{para|colour}} parameter can be used to change the color of the ''✓'':
 
{| class="wikitable"
|-
! colspan=4 | color codes !! output !! notes
|-
| green      ||        || grn  || gn  || [[File:Yes check.svg|20px]] || the default
|-
| lightgreen || lgreen || lgrn || lgn || [[File:Light green check.svg|20px]] ||
|-
| red        ||        || rd  || r  || [[File:Red check.svg|20px]] ||
|-
| darkred    || dkred  || drd  || dr  || [[File:Check-188-25-49-red.svg|20px]] ||
|-
| pink      ||        || pnk  || pk  || [[File:Pink check.svg|20px]] ||
|-
| orange    ||        || or  || o  || [[File:Check.svg|20px]] ||
|-
| yellow    ||        || yel  || y  || [[File:Yellow check.svg|20px]] ||
|-
| blue      ||        || blu  || u  || [[File:Check-blue.svg|20px]] ||
|-
| lightblue  || lblue  || lblu || lb  || [[File:Cornflower blue check.svg|20px]] ||
|-
| cyan      ||        || cy  || c  || [[File:B-check.svg|20px]] ||
|-
| purple    ||        || pur  || pu  || [[File:Purple check.svg|20px]] ||
|-
| brown      ||        || brn  || bn  || [[File:Brown check.svg|20px]] ||
|-
| black      ||        || blk  || k  || [[File:Black check.svg|20px]] ||
|-
| grey      || gray  || gry  || gy  || [[File:SemiTransBlack v.svg|20px]] || is actually semi-transparent
|}
 
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "A template that inserts a green (by default) tick (check mark) inline in the text",
"params": {
"1": {
"label": "Size",
"description": "Sets the size of the tick mark",
"type": "number",
"default": "20",
"required": false
},
"color": {
"aliases": [ "colour" ],
"label": "Color",
"description": "Sets the color of the tick mark",
"type": "string",
"default": "green",
"required": false
}
},
"format": "inline"
}
</templatedata>
 
== See also ==
{{Check mark templates}}
{{Done/See also}}
 
<includeonly>{{Sandbox other||
[[Category:Checkmark insertion templates]]
}}</includeonly>

Latest revision as of 03:44, 19 June 2023

Redirect to: