Template:Xmark/doc
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:
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
A template that inserts a red (by default) X (diagonal cross) inline in the text
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Size | 1 | Sets the size of the X mark
| Number | optional |
| Color | color colour | Sets the color of the X mark
| String | optional |
See also