Template:Checkbox: Difference between revisions

From VR Wiki
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",
      "label": "Checked",
            "type": "boolean",
      "type": "boolean",
            "required": true,
      "required": true,
            "description": "Whether the checkbox is checked or not.",
      "description": "Whether the checkbox is checked or not.",
            "aliases": ["1"]
      "aliases": ["1"]
        },
    }
}
  }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 08:14, 19 February 2023

Depiction of a checkbox in one of several states.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Checkedchecked 1

Whether the checkbox is checked or not.

Booleanrequired