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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
m
Line 11: Line 11:
 
<!-- do not use the template {{IPA}} before inputting in IPAsym-->
 
<!-- do not use the template {{IPA}} before inputting in IPAsym-->
  
| format html =<!--  
+
| format html =<!--just string them together with ZWSP
 
-->{{#if: {{{a|}}}|&amp;#{{{a|}}};}}{{#if: {{{b|}}}|{{zwsp}}&amp;#{{{b|}}};}}{{#if: {{{c|}}}|{{zwsp}}&amp;#{{{c|}}};}}{{#if: {{{d|}}}|{{zwsp}}&amp;#{{{d|}}};}}
 
-->{{#if: {{{a|}}}|&amp;#{{{a|}}};}}{{#if: {{{b|}}}|{{zwsp}}&amp;#{{{b|}}};}}{{#if: {{{c|}}}|{{zwsp}}&amp;#{{{c|}}};}}{{#if: {{{d|}}}|{{zwsp}}&amp;#{{{d|}}};}}
 
<!-- Unicode uses &#x2008; (punctuation space) -->
 
<!-- Unicode uses &#x2008; (punctuation space) -->
  
| format unicode =<!--  
+
| format unicode =<!--just string them together with small space
 
-->{{#if: {{{unicode|}}} | {{{unicode|}}} |<!--  
 
-->{{#if: {{{unicode|}}} | {{{unicode|}}} |<!--  
 
   -->{{#if: {{{a|}}}|U+{{padleft:{{hexadecimal|{{{a|}}}|no}}|4|0}}}}<!--  
 
   -->{{#if: {{{a|}}}|U+{{padleft:{{hexadecimal|{{{a|}}}|no}}|4|0}}}}<!--  
Line 24: Line 24:
  
 
| #default =<!-- blank-->
 
| #default =<!-- blank-->
 
 
}}<noinclude>
 
}}<noinclude>
 
Formatting from decimal codes.
 
Formatting from decimal codes.
Using named input "a, b, c, d" to prevent spaces sticking with numbers
+
Using named input "a, b, c, d" to prevent spaces in input sticking with numbers
 
</noinclude>
 
</noinclude>

Revision as of 12:25, 30 January 2011

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