Template:Tick: Difference between revisions

From Andrealphus Games
Jump to navigation Jump to search
and>Shirayuki
mNo edit summary
 
m 1 revision imported
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:OOjs UI icon check-constructive.svg|{{ {{{|safesubst:}}}#if:{{{1|}}}|{{{1}}}|20}}px|alt=Yes|link=]]<!--template:tick--><noinclude>
{{documentation}}
<templatedata>
<templatedata>
{
{
"description": "A template that inserts a green (by default) tick (check mark) inline in the text",
"params": {
"params": {
"1": {
"1": {
"label": "Size in pixels",
"label": "Size",
"description": "Sets the size of the tick mark",
"type": "number",
"type": "number",
"description": "Size of the tick",
"default": "20",
"example": "20",
"required": false
"autovalue": "20",
"required": true
},
},
"": {}
"color": {
}
"aliases": [ "colour" ],
"label": "Color",
"description": "Sets the color of the tick mark",
"type": "string",
"default": "green",
"required": false
}
},
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>

Latest revision as of 03:28, 24 April 2023

A template that inserts a green (by default) tick (check mark) inline in the text

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Size1

Sets the size of the tick mark

Default
20
Numberoptional
Colorcolor colour

Sets the color of the tick mark

Default
green
Stringoptional