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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(…using wikEd)
imported>Primefac
m (Protected "Template:Infobox IPA/format numbers": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access]...)
 
(One intermediate revision by one other user not shown)
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 -->

Latest revision as of 00:30, 19 January 2018

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