Template:Tick/doc

Revision as of 17:45, 15 October 2020 by Caleb Cooper (talk | contribs) (Created page with "{{Documentation subpage}} {{used in system}} {{high-use}} This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{tlx|Cross}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.

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
red rd r
darkred dkred drd dr
pink pnk pk
orange or o
yellow yel y
blue blu u
lightblue lblue lblu lb
cyan cy c
purple pur pu
brown brn bn
black blk k
grey gray gry gy is actually semi-transparent

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 based on this TemplateData.

TemplateData for Tick/doc

A template that inserts a green (by default) tick (check mark) inline in the text

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Size1

Sets the size of the tick mark

Default
20
Numberoptional
Colorcolor colour

Sets the color of the tick mark

Default
green
Stringoptional