Template:Xmark/doc: Difference between revisions
More actions
Created page with "{{Documentation subpage}} {{High-use}} This template inserts a red ''X'' inline in the text. It is often used as the opposite of {{tlx|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: : {{tnull|cross|'''30'''}} The..." |
(No difference)
|
Latest revision as of 06:57, 17 February 2025
| This is a documentation subpage for Template:Xmark. It may contain usage information, categories and other content that is not part of the original template page. |
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 | 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
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}}
| Check marks | Cross marks | ||
|---|---|---|---|
| {{tick}} = {{tick|20}} {{tick|colour=purple}} {{tick|color=cyan}} {{check mark}} |
check check |
{{cross}} = {{cross|20}} {{Template:Xmark|colour=orange}} {{Template:Xmark|color=black}} |
☒ ☒ |
| {{aye}} and {{Template:Aye}} | {{nay}} and {{Template:Nay}} | ||
| {{ya}} | {{na}} | ||
| {{yan}} | Yes | {{nan}} | No |
| {{check mark-n}} | {{x mark-n}} | No | |
| {{y&}} | ✓ | {{n&}} | |
| {{Template:Black tick}} | ✓ | ||
| {{yeac}} | {{nayc}} | Red X symbol | |
| {{yeag}} | Gray check mark | {{nayg}} | Gray X symbol |
| {{Template:Yellow aye}} | Orange tick | {{nayd}} | Dark red X symbol |
| {{checked box}} {{ticked box}} |
checked box | {{unchecked box}} {{unticked box}} |
unchecked box |
| {{xed box}} | X'ed box | {{unexed box}} | unchecked box |
| {{question mark box}} | ? | ||
| Other marks | |||
| {{n.b.}} | {{hmmm}} | Question | |
| {{bang}} | exclamation mark | {{idkc}} | |
| {{equc}} | Gray equals sign | {{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").
| |||
Removed, because I'm going to rewrite this template to be drastically lighter and easier to use.
Check the usual KWW->KW->Templates->TemplateTemp->"Template-Done-See also" for when you return to this.