Más acciones
+ css-text-checked/-unchecked parameters |
treat 0 as false |
||
Línea 1: | Línea 1: | ||
<div style="float:left; width:.8em; height:.8em; margin-right:0.5em; border:1px solid #666; background:#{{# | <div style="float:left; width:.8em; height:.8em; margin-right:0.5em; border:1px solid #666; background:#{{#switch:{{{1|0}}}||0=FFF|000}}; {{#switch:{{{1|0}}}||0={{{css-box-unchecked|}}}|{{{css-box-checked|}}}}}"></div> <span style="{{#switch:{{{1|0}}}||0={{{css-text-unchecked|}}}|{{{css-text-checked|}}}}}">{{{2}}}</span><noinclude> | ||
---- | ---- | ||
{| | {| | ||
|- | |- | ||
| <pre> | | <pre> | ||
{{checkbox|1}} | {{checkbox|1|Yes}}<br /> | ||
{{checkbox}} | {{checkbox|0|No}} | ||
</pre> | </pre> | ||
|style="font-size:3em;"| → | |style="font-size:3em;"| → | ||
| {{checkbox|1|Yes}}<br /> | | {{checkbox|1|Yes}}<br /> | ||
{{checkbox||No}} | {{checkbox|0|No}} | ||
|} | |} | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Revisión del 01:57 17 nov 2008
{{{2}}}
{{checkbox|1|Yes}}<br /> {{checkbox|0|No}} |
→ | Yes No |