Difference between revisions of "Template:Infobox IPA/format numbers"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 16: Line 16:
 
| format unicode =<!--  
 
| format unicode =<!--  
 
-->{{#if: {{{unicode|}}} | {{{unicode|}}} |<!--  
 
-->{{#if: {{{unicode|}}} | {{{unicode|}}} |<!--  
   -->{{#if: {{{a|}}}|U+{{padleft:{{hexadecimal|{{{a|0}}}|no}}|4|0}}}}<!--  
+
   -->{{#if: {{{a|}}}|U+{{padleft:{{hexadecimal|{{{a|}}}|no}}|4|0}}}}<!--  
   -->{{#if: {{{b|}}}|&#x2008;U+{{padleft:{{hexadecimal|{{{b|0}}}|no}}|4|0}}}}<!--  
+
   -->{{#if: {{{b|}}}|&#x2008;U+{{padleft:{{hexadecimal|{{{b|}}}|no}}|4|0}}}}<!--  
   -->{{#if: {{{c|}}}|&#x2008;U+{{padleft:{{hexadecimal|{{{c|0}}}|no}}|4|0}}}}<!--  
+
   -->{{#if: {{{c|}}}|&#x2008;U+{{padleft:{{hexadecimal|{{{c|}}}|no}}|4|0}}}}<!--  
   -->{{#if: {{{d|}}}|&#x2008;U+{{padleft:{{hexadecimal|{{{d|0}}}|no}}|4|0}}}}<!--
+
   -->{{#if: {{{d|}}}|&#x2008;U+{{padleft:{{hexadecimal|{{{d|}}}|no}}|4|0}}}}<!--
 
-->}}
 
-->}}
  

Revision as of 03:01, 26 January 2011

Formatting from decimal codes. Using named input "a, b, c, d" to prevent spaces sticking with numbers