Template:Tick: Difference between revisions

From Andrealphus Games
Jump to navigation Jump to search
and>Shirayuki
mNo edit summary
 
Created page with "<templatedata> { "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..."
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>

Revision as of 01:58, 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