Difference between revisions of "Template:Infobox IPA/format numbers"
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|}}}|&#{{{a|}}};}}{{#if: {{{b|}}}|{{zwsp}}&#{{{b|}}};}}{{#if: {{{c|}}}|{{zwsp}}&#{{{c|}}};}}{{#if: {{{d|}}}|{{zwsp}}&#{{{d|}}};}} | -->{{#if: {{{a|}}}|&#{{{a|}}};}}{{#if: {{{b|}}}|{{zwsp}}&#{{{b|}}};}}{{#if: {{{c|}}}|{{zwsp}}&#{{{c|}}};}}{{#if: {{{d|}}}|{{zwsp}}&#{{{d|}}};}} | ||
<!-- Unicode uses   (punctuation space) --> | <!-- Unicode uses   (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