Difference between revisions of "Template:Checkbox"

From SME Server
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
+
{{#ifeq:{{lc:{{{1|check}}}}}|uncheck|[[File:U+2610.svg|link=|Work pending]]|[[File:Check mark.svg|link=|Work done!]]}}<noinclude>
| 1
+
{{documentation}}<templatedata>
| black | Black = [[File:Black Square.png|link=]]
+
{
| 0
+
"params": {
| #default
+
"1": {
| white | White = [[File:Blank square.png|link=]]
+
"label": "check or uncheck",
}}&nbsp;{{{2|}}}</includeonly><noinclude>
+
"description": "check or uncheck",
{{Documentation}}</noinclude>
+
"type": "content",
 +
"default": "uncheck",
 +
"autovalue": "uncheck",
 +
"suggested": true,
 +
        "example": "uncheck"
 +
}
 +
},
 +
"description": "display checkboxes on your page"
 +
}
 +
</templatedata></noinclude>

Latest revision as of 04:30, 25 April 2022

Work done!

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}

display checkboxes on your page

Template parameters

ParameterDescriptionTypeStatus
check or uncheck1

check or uncheck

Default
uncheck
Example
uncheck
Auto value
uncheck
Contentsuggested