Template:Cross

From Second Life Wiki
Revision as of 07:19, 17 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

☒N

[Edit] [🔄Purge] Template-info.png Template documentation

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:

Warning!

On the Second Life Wiki, for now, only the red (default) X mark is available


color codes output notes
red rd r X mark.png 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

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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

Template:Check mark templates

This list:

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.









Template:Col-float-end

Others


Multi-sign templates

The following templates implement several icons:

Others