Difference between revisions of "User:Darkid/Template:Checkbox"
m (Updating to look perty.) |
m (Awhoops.) |
||
Line 2: | Line 2: | ||
| Yes | | Yes | ||
| Check | | Check | ||
− | | Checked = {{#switch: {{User:Darkid}}|Default=|Inverse=Un}}Checked | + | | Checked = {{#switch: {{User:Darkid}}|#default=|Default=|Inverse=Un}}Checked |
| No | | No | ||
| Empty | | Empty | ||
− | | UnChecked = {{#switch: {{User:Darkid}}|Default=Un|Inverse=}}Checked | + | | UnChecked = {{#switch: {{User:Darkid}}|#default=Un|Default=Un|Inverse=}}Checked |
}}_Checkbox.png|{{{size|16px}}}|link=]]</includeonly><noinclude> | }}_Checkbox.png|{{{size|16px}}}|link=]]</includeonly><noinclude> | ||
== Usage == | == Usage == |
Revision as of 04:04, 17 June 2012
Usage
Parameters "Yes" "Check" "Checked" will output
Parameters "No" "Empty" "UnChecked" will output
Switching the parameter on my userpage of "Default" to "Inverse" will invert this template. :)