Template:Tick: Difference between revisions
From J-Fusion Wiki
Jump to navigationJump to search
Fix Linter errors. (bogus image options). strip trailing "px" off size parameter if present |
No edit summary |
||
| Line 1: | Line 1: | ||
[[{{ | [[File:OOjs UI icon check-constructive.svg|{{ {{{|safesubst:}}}#if:{{{1|}}}|{{{1}}}|20}}px|alt=Yes|link=]]<noinclude> | ||
| | {{documentation|content= | ||
| | <templatedata> | ||
| | { | ||
"params": { | |||
"1": { | |||
"label": "Size in pixels", | |||
"type": "number", | |||
"description": "Size of the tick", | |||
"example": "20", | |||
"autovalue": "20", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 22:56, 22 March 2025
File:Test Template Info-Icon - Version (2).svg Template documentation
<templatedata> { "params": { "1": { "label": "Size in pixels", "type": "number", "description": "Size of the tick", "example": "20", "autovalue": "20", "required": true } } } </templatedata>