Template:Xmark

From The Kodiak Republic Wiki

Revision as of 08:23, 12 January 2023 by Silmjlc (talk | contribs) (Created page with "[[{{ {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}lc:{{{color|{{{colour|}}}}}} }} |red |rd |r =File:X mark.svg |darkred |dkred |drd |dr =File:Dark Red x.svg |orange |or |o =File:Orange x.svg |yellow |yel |y =File:Dark yellow x.svg |black |blk |k =File:Black x.svg |grey |gray |gry |gy =File:SemiTransBlack x.svg <!--default--> |File:X mark.svg }}|{{ {{{|safesubst:}}}#if:{{{1|}}}|{{{1}}}|20}}px|link=|alt=☒]]<span styl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

☒N

Template documentation (for the above template, sometimes hidden or invisible)

This template inserts a red X inline in the text. It is often used as the opposite of {{Tick}}.

Usage

This template inserts an inline red diagonal cross (X) image, indicating negation (or some other negatory message: rejection, failure, etc.). It is not for use in articles.

The cross image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:

{{cross|30}}

The |color= or |colour= parameter can be used to change the color of the X:

color codes output notes
red rd r the default
darkred dkred drd dr
orange or o
yellow yel y
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 Xmark

A template that inserts a red (by default) X (diagonal cross) inline in the text

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Size1

Sets the size of the X mark

Default
20
Numberoptional
Colorcolor colour

Sets the color of the X mark

Default
red
Stringoptional

See also

Template:Check mark templates Template:Done/See also


Visit Template:Xmark/doc to edit this text! (How does this work?)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.