Difference between revisions of "User:Darkid/Template:Checkbox"

From Team Fortress Wiki
Jump to: navigation, search
m (Updating to look perty.)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>[[Image:User_Darkid_{{#switch: {{{1}}} | #default= UnChecked
+
<includeonly>[[Image:User_Darkid_{{#switch: {{{1}}}
| Yes
+
| Yes | Check | Checked = Checked
| Check
+
| No | Empty | UnChecked | #default = UnChecked
| Checked = {{#switch: {{User:Darkid}}|Default=|Inverse=Un}}Checked
 
| No
 
| Empty
 
| UnChecked = {{#switch: {{User:Darkid}}|Default=Un|Inverse=}}Checked
 
 
}}_Checkbox.png|{{{size|16px}}}|link=]]</includeonly><noinclude>
 
}}_Checkbox.png|{{{size|16px}}}|link=]]</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
Parameters "Yes" "Check" "Checked" will output {{User:Darkid/Template:Checkbox|Checked}}<br>
 
Parameters "Yes" "Check" "Checked" will output {{User:Darkid/Template:Checkbox|Checked}}<br>
 
Parameters "No" "Empty" "UnChecked" will output {{User:Darkid/Template:Checkbox|UnChecked}}<br>
 
Parameters "No" "Empty" "UnChecked" will output {{User:Darkid/Template:Checkbox|UnChecked}}<br>
Switching the parameter on my userpage of "Default" to "Inverse" will invert this template. :)
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:05, 2 September 2012

Usage

Parameters "Yes" "Check" "Checked" will output User Darkid Checked Checkbox.png
Parameters "No" "Empty" "UnChecked" will output User Darkid UnChecked Checkbox.png