Template:Tick/doc

From Ephemeral Film Wiki
< Template:Tick
Revision as of 15:28, 24 March 2022 by JJR (talk | contribs) (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 oppos...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

- - -

There is a documentation subpage housing the metadata about parent template: Tick.

This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{Template:Xmark}}.

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 Yes check.svg the default
lightgreen lgreen lgrn lgn Light green check.svg
red rd r Red check.svg
darkred dkred drd dr Check-188-25-49-red.svg
pink pnk pk Pink check.svg
orange or o Check.svg
yellow yel y Gold check mark.svg
blue blu u Check-blue.svg
lightblue lblue lblu lb Cornflower blue check.svg
cyan cy c B-check.svg
purple pur pu Purple check.svg
brown brn bn Brown check.svg
black blk k Black check.svg
grey gray gry gy SemiTransBlack v.svg is actually semi-transparent

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Tick

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

Template parameters

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

See also

Template:Check mark templates Template:Done/See also