Difference between revisions of "Template:Infobox IPA/format numbers"
Jump to navigation
Jump to search
imported>DePiep (←Created page with '{{#switch: {{{format type|}}} | format check decimals=<!-- -->{{#iferror:{{#expr:0{{{a|}}}}}|{{error|decimal1{{=}}{{{a|}}} is not numeric|tag=span}}<br>|}}<!-- -->{...') |
imported>DePiep |
||
| Line 16: | Line 16: | ||
| format unicode =<!-- | | format unicode =<!-- | ||
-->{{#if: {{{unicode|}}} | {{{unicode|}}} |<!-- | -->{{#if: {{{unicode|}}} | {{{unicode|}}} |<!-- | ||
| − | -->{{#if: {{{a|}}}|U+{{padleft:{{hexadecimal|{{{ | + | -->{{#if: {{{a|}}}|U+{{padleft:{{hexadecimal|{{{a|0}}}|no}}|4|0}}}}<!-- |
| − | -->{{#if: {{{b|}}}| U+{{padleft:{{hexadecimal|{{{ | + | -->{{#if: {{{b|}}}| U+{{padleft:{{hexadecimal|{{{b|0}}}|no}}|4|0}}}}<!-- |
| − | -->{{#if: {{{c|}}}| U+{{padleft:{{hexadecimal|{{{ | + | -->{{#if: {{{c|}}}| U+{{padleft:{{hexadecimal|{{{c|0}}}|no}}|4|0}}}}<!-- |
| − | -->{{#if: {{{d|}}}| U+{{padleft:{{hexadecimal|{{{ | + | -->{{#if: {{{d|}}}| U+{{padleft:{{hexadecimal|{{{d|0}}}|no}}|4|0}}}}<!-- |
-->}} | -->}} | ||
Revision as of 02:59, 26 January 2011
Formatting from decimal codes. Using named input "a, b, c, d" to prevent spaces sticking with numbers