Template:Xmark/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Script error: No such module "Message box". Script error: No such module "High-use".

This template inserts a red X inline in the text. It is often used as the opposite of Template:Tlx.

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:

Template:Tnull

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

color codes output notes
red rd r File:X mark.svg the default
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 is actually semi-transparent

TemplateData

Template:TemplateData header

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

Template parameters

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

<templatestyles src="Navbar-header/styles.css"/>
Check marks Cross marks
Template:Tl = Template:Tlp
Template:Tlp
Template:Tlp
Template:Tl
checkY
checkY
checkY
checkY
Template:Tl = Template:Tlp
Template:Tlp
Template:Tlp
Template:Cross
Template:Cross
Template:Cross
Template:Tl and Template:Tl Green tickY Template:Tl and Template:Tl Red XN
Template:Tl Template:Ya Template:Tl Template:Na
Template:Tl Template:Yan Template:Tl Template:Nan
Template:Tl YesY Template:Tl NoN
Template:Tl Template:Y& Template:Tl Template:N&
Template:Tl Template:Chk    
Template:Tl Template:Yeac Template:Tl Template:Nayc
Template:Tl Template:Yeag Template:Tl Template:Nayg
Template:Tl Template:Mby Template:Tl Template:Nayd
Template:Tl
Template:Tl
Template:Checked box Template:Tl
Template:Tl
Template:Unchecked box
Template:Tl Template:Xed box Template:Tl Template:Unexed box
Template:Tl Template:Question mark box
Other marks
Template:Tl Template:N.b. Template:Tl Template:Hmmm
Template:Tl Template:Bang Template:Tl Template:Idkc
Template:Tl Template:Equc Template:Tl Template:Cloc
Most of the templates above are fully sortable in a class="sortable" table (each check mark is assigned an undisplayed "Y" and each cross mark an undisplayed "N").

Template:Done/See also