Diferencia entre revisiones de «Plantilla:Checkbox»

De Wikimedia Small Projects
m (tweaks)
m (16 revisiones importadas: Checkbox)
 
(No se muestran 7 ediciones intermedias de 4 usuarios)
Línea 1: Línea 1:
<table style="margin:0; padding:0;"><tr><td valign="top"><div style="width:.8em; height:.8em; margin-right:0.2em; border:1px solid #666; background:#{{#if:{{{1|}}}|000|FFF}}; {{#if:{{{1|}}}|{{{css-box-checked|}}}|{{{css-box-unchecked|}}}}}"></div></td><td><span style="{{#if:{{{1|}}}|text-decoration:line-through;}}">{{{2}}}</span></td></tr></table><noinclude>[[Category:Formatting templates]]</noinclude>
<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<includeonly>|</includeonly>}}}</span><noinclude>
----
{|
|-
| <pre>
{{checkbox|1|Yes}}<br />
{{checkbox|0|No}}
</pre>
|style="font-size:3em;"| &rarr;
| {{checkbox|1|Yes}}<br />
{{checkbox|0|No}}
|}
Please note that the parameter 2 is not necessary, but its use is highly recommended.
 
[[Category:Formatting templates]]</noinclude>

Revisión actual - 02:44 27 ene 2021

{{{2}}}


{{checkbox|1|Yes}}<br />
{{checkbox|0|No}}
Yes
No

Please note that the parameter 2 is not necessary, but its use is highly recommended.