Template:Tick: Difference between revisions

From Vigyanwiki
Template>Scott
(Update with new image and parameterize.)
m (42 revisions imported from alpha:Template:Tick)
 
(39 intermediate revisions by 27 users not shown)
Line 1: Line 1:
[[Image:Green tick.png|{{{1|20}}}px]]<noinclude>
[[{{ safesubst:<noinclude/>#switch:{{ safesubst:<noinclude/>lc:{{{color|{{{colour|}}}}}} }}
 
|green              |grn  |gn  =File:Yes check.svg
The tick image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:
|lightgreen |lgreen |lgrn |lgn =File:Light green check.svg
: '''<nowiki>{{tick|30}}</nowiki>'''
|red                |rd  |r  =File:Red check.svg
 
|darkred    |dkred  |drd  |dr  =File:Check-188-25-49-red.svg
For a cross icon, use [[Template:Cross]].
|pink              |pnk  |pk  =File:Pink check.svg
 
|orange            |or  |o  =File:Check.svg
A template for a tick icon with the word '''Done''' appended is available at [[Template:Done]].</noinclude>
|yellow            |yel  |y  =File:Yellow check.svg
|black              |blk  |k  =File:Black 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
|grey      |gray  |gry  |gy  =File:SemiTransBlack v.svg
|brown              |brn  |bn  =File:Brown check.svg
<!--default-->                |File:Yes check.svg
}}|{{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|20}}px|link=|alt={{#if:{{{alt|}}}|{{{alt}}}|check}}]]<span style="display:none">Y</span><!--template:tick--><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 15:35, 12 December 2022

checkY

Template documentation