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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(…using wikEd)
imported>Jimp
(no need to transclude {{zwsp}}, just use ​)
Line 12: Line 12:
 
<!-- do not use the template {{IPA}} before inputting in IPAsym
 
<!-- do not use the template {{IPA}} before inputting in IPAsym
 
-->
 
-->
| format html =<!--just string them together with ZWSP
+
| format html =<!--just string them together with zero width space (&#x200B;)
-->{{#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|}}}|&#x200B;&amp;#{{{b|}}};}}{{#if: {{{c|}}}|&#x200B;&amp;#{{{c|}}};}}{{#if: {{{d|}}}|&#x200B;&amp;#{{{d|}}};}}<!--
 
-->
 
-->
 
<!-- Using &#x2008; (punctuation space) between Unicode codes -->
 
<!-- Using &#x2008; (punctuation space) between Unicode codes -->

Revision as of 07:52, 17 April 2015

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