Difference between revisions of "Template:Tick/doc"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org and adapted for SL Wiki)
 
(Changed from 'notice' to 'warning')
 
Line 12: Line 12:
The {{para|color}} or {{para|colour}} parameter can be used to change the color of the ''✓'':
The {{para|color}} or {{para|colour}} parameter can be used to change the color of the ''✓'':


{{notice|1=On the Second Life Wiki, for now, only the green (default) tick mark is available}}
{{warning|1=On the Second Life Wiki, for now, only the green (default) tick mark is available}}


{| class="wikitable"
{| class="wikitable"

Latest revision as of 07:23, 17 September 2022

This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{Cross}}.

Usage

This template inserts an inline green tick or check () image, indicating agreement (or other affirmatives: acceptance, completion, etc.). It is not for use in articles.

The tick image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:

{{tick|30}}

The |color = or |colour = parameter can be used to change the color of the :

Warning!

On the Second Life Wiki, for now, only the green (default) tick mark is available


color codes output notes
green grn gn Yes check.png the default
lightgreen lgreen lgrn lgn 20px
red rd r 20px
darkred dkred drd dr 20px
pink pnk pk 20px
orange or o 20px
yellow yel y 20px
blue blu u 20px
lightblue lblue lblu lb 20px
cyan cy c 20px
purple pur pu 20px
brown brn bn 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 Tick

{
	"description": "A template that inserts a green (by default) tick (check mark) inline in the text",
	"params": {
		"1": {
			"label": "Size",
			"description": "Sets the size of the tick mark",
			"type": "number",
			"default": "20",
			"required": false
		},
		"color": {
			"aliases": [ "colour" ],
			"label": "Color",
			"description": "Sets the color of the tick mark",
			"type": "string",
			"default": "green",
			"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