Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Plantilla:Checkbox»

De Wikimedia Small Projects
Sin resumen de edición
optional
Línea 1: Línea 1:
<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>
<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>
----
----
{|
{|
Línea 11: Línea 11:
{{checkbox|0|No}}
{{checkbox|0|No}}
|}
|}
Please note that the parameter 2 is not necessary, but it's use is highly liked.


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revisión del 21:36 2 nov 2011

{{{2}}}


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

Please note that the parameter 2 is not necessary, but it's use is highly liked.