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

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="Unicode">{{#switch:
+
<includeonly>[[Image:User_Darkid_{{#switch: {{{1}}}
| Yes
+
| Yes | Check | Checked = Checked
| Check = http://www.defaulticon.com/sites/default/files/styles/icon-front-page-32x32-preview/public/field/image/checkbox.png
+
| No | Empty | UnChecked | #default = UnChecked
| No
+
}}_Checkbox.png|{{{size|16px}}}|link=]]</includeonly><noinclude>
| Empty = http://www.defaulticon.com/sites/default/files/styles/icon-front-page-32x32-preview/public/field/image/checkbox-empty.png
+
== Usage ==
}}</span><noinclude>
+
Parameters "Yes" "Check" "Checked" will output {{User:Darkid/Template:Checkbox|Checked}}<br>
{{User:Darkid/Template:Checkbox|Yes}}<br>
+
Parameters "No" "Empty" "UnChecked" will output {{User:Darkid/Template:Checkbox|UnChecked}}<br>
{{User:Darkid/Template:Checkbox|No}}<br>
 
 
</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