Diferencia entre revisiones de «Plantilla:Decimal to binary converter»

De WikiMinecraft
Saltar a: navegación, buscar
 
 
(No se muestran 2 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
 
<includeonly>{{#invoke: Convert base | fromDec | {{{1}}} | 2 }}</includeonly><noinclude>
 
<includeonly>{{#invoke: Convert base | fromDec | {{{1}}} | 2 }}</includeonly><noinclude>
 
{{/doc}}
 
{{/doc}}
[[nl:Sjabloon:Decimal to binary converter]]
 
 
[[Category:Templates|Dec-bin]]
 
[[Category:Templates|Dec-bin]]
 
</noinclude>
 
</noinclude>

Revisión actual del 00:11 11 oct 2014

Template-info.png Documentación
Atajo
dec-bin
Lua logo.png
Esta plantilla usa Módulo:Convert base, un script escrito en el lenguaje de programación Lua. Por favor lea mw:Lua y mw:Extension:Scribunto para saber más del lenguaje Lua.

This is a simple to use tool for dynamically converting decimal values to binary values. It can take decimal numbers up to 9999999999999999999.

Code

In full the template code is as follows:

{{Decimal to binary converter|1234}}

But it is much easier to use it through the redirect dec-bin which allows it to be written out as:

{{Dec-bin|1234}}

Both of which will output 10011010010.

See also

La documentación anterior se transcluye de Plantilla:Decimal to binary converter/doc. (edit | history)