Template:Checkbox: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{{checked|{{{1|0}}}}}}|1|[[Image:unity-checkbox-checked.png]]|[[Image:unity-checkbox-unchecked.png]]}} | {{#ifeq:{{{checked|{{{1|0}}}}}}|1|[[Image:unity-checkbox-checked.png]]|[[Image:unity-checkbox-unchecked.png]]}}<noinclude> | ||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description":"Depiction of a checkbox in one of several states.", | "description": "Depiction of a checkbox in one of several states.", | ||
"params":{ | "params": { | ||
"checked":{ | "checked": { | ||
"label": "Checked", | |||
"type": "boolean", | |||
"required": true, | |||
"description": "Whether the checkbox is checked or not.", | |||
"aliases": ["1"] | |||
} | |||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |