Changes

Jump to navigation Jump to search
236 bytes removed ,  05:30, 25 April 2022
no edit summary
Line 1: Line 1: −
{{#switch:{{{1|}}}
+
{{#ifeq:{{lc:{{{1|check}}}}}|uncheck|[[File:U+2610.svg|link=|Work pending]]|[[File:Check mark.svg|link=|Work done!]]}}<noinclude>
|#default
+
{{documentation}}<templatedata>
|checked=[[File:Checkbox_{{{color|black}}}_{{#ifeq:{{{tick|}}}|no|on|checked}}.png|link=|17px|{{{2}}}]]
+
{
|unchecked=[[File:Checkbox_{{{color|black}}}_unchecked.png|link=|17px|{{{2}}}]]
+
"params": {
}}<noinclude>
+
"1": {
{{documentation|content=
+
"label": "check or uncheck",
 
+
"description": "check or uncheck",
* <code><nowiki>{{checkbox}}</nowiki></code> ⇒ {{checkbox}}
+
"type": "content",
* <code><nowiki>{{checkbox|checked|title}}</nowiki></code> ⇒ {{checkbox|checked|title}}
+
"default": "uncheck",
* <code><nowiki>{{checkbox|unchecked|title}}</nowiki></code> ⇒ {{checkbox|unchecked|title}}
+
"autovalue": "uncheck",
* <code><nowiki>{{checkbox|checked|tick=no}}</nowiki></code> ⇒ {{checkbox|checked|tick=no}}
+
"suggested": true,
* <code><nowiki>{{checkbox|checked|color=red}}</nowiki></code> ⇒ {{checkbox|checked|color=red}}
+
        "example": "uncheck"
 
+
}
}}
+
},
</noinclude>
+
"description": "display checkboxes on your page"
 +
}
 +
</templatedata></noinclude>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu