Template:Cross
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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:
On the Second Life Wiki, for now, only the red (default) X mark is available
color codes | output | notes | |||
---|---|---|---|---|---|
red | rd | r | the default | ||
darkred | dkred | drd | dr | 20px | |
orange | or | o | 20px | ||
yellow | yel | y | 20px | ||
black | blk | k | 20px | ||
grey | gray | gry | gy | 20px | is actually semi-transparent |
TemplateData
TemplateData for Cross
{
"description": "A template that inserts a red (by default) X (diagonal cross) inline in the text",
"params": {
"1": {
"label": "Size",
"description": "Sets the size of the X mark",
"type": "number",
"default": "20",
"required": false
},
"color": {
"aliases": [ "colour" ],
"label": "Color",
"description": "Sets the color of the X mark",
"type": "string",
"default": "red",
"required": false
}
},
"format": "inline"
}
See also
- {{t}}
- {{Hammer}}
- {{Strikethrough}}
Inline icon templates by shape and color
Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.
Others
Multi-sign templates
The following templates implement several icons:
- {{AIV}} – used by Wikipedia:Administrator intervention against vandalism
- {{EP}} – used for servicing requests in edit-protected areas
- {{RFPP}} – used by Wikipedia:Requests for page protection
- {{UAA}} – used by Wikipedia:Usernames for administrator attention
- {{Smiley}} – used for informal communication purposes
Others
- Template:Check mark templates, for templates like these but without text
- Template:Icon, inline icon templates by shape and color
- Wikipedia:List of discussion templates, a more linear table of essentially the same set of templates
- Template:Resolved/See also, the smaller family of thread-level hatnote templates, similar to the above but with a box around them; any template above can be converted to one of those with {{Resbox}}
- Template:Table cell templates/doc, the family of table-specific templates that work only in tables
- Category:Image with comment templates
- Category:Resolution templates