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