Advertisement:
Template:Xmark/doc
This is a documentation subpage for Template:Xmark. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
TemplateData for Xmark
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
- {{t}}
- {{Hammer}}
- {{Strikethrough}}
Template:Check mark templates Template:Done/See also