Template:Space comparison: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1:
{| class="wikitable"
|-
! Name / size || {{Bordered arrows|Instance}} || Example code and ... || output
!Using {{Tl|spaces}}||Output
!Output {{Tl|spaces}}
|-
| ''none'' || {{Bordered arrows|}} || <syntaxhighlight lang="html" inline="">Some text<ref>...</ref></syntaxhighlight> || Some text{{dummy reference}}
|
|Some text{{dummy reference}}
|
|-
| Hair || {{Bordered arrows|{{hair space}}}} || <syntaxhighlight lang="html" inline>Some text{{hair space}}<ref>...</ref></syntaxhighlight> || Some text{{hair space}}{{dummy reference}}
|<syntaxhighlight lang="html" inline="">Some text{{hair space}}<ref>...</ref></syntaxhighlight>
|<code><nowiki>Some text{{spaces|hair}}<ref>...</ref></nowiki></code>
|Some text{{hair space}}{{dummy reference}}
|Some text{{spaces|hair}}{{dummy reference}}
|-
| 2-pixel || {{Bordered arrows|{{px2}}}} || <syntaxhighlight lang="html" inline>Some text{{px2}}<ref>...</ref></syntaxhighlight> || Some text{{px2}}{{dummy reference}}
|<syntaxhighlight lang="html" inline="">Some text{{px2}}<ref>...</ref></syntaxhighlight>
|
|Some text{{px2}}{{dummy reference}}
|
|-
| Narrow no-break || {{Bordered arrows|{{narrow no-break space}}}} || <syntaxhighlight lang="html" inline>Some text{{narrow no-break space}}<ref>...</ref></syntaxhighlight> || Some text{{narrow no-break space}}{{dummy reference}}
|<syntaxhighlight lang="html" inline="">Some text{{narrow no-break space}}<ref>...</ref></syntaxhighlight>
|
|Some text{{narrow no-break space}}{{dummy reference}}
|
|-
| Thin || {{Bordered arrows|{{thin space}}}} || <syntaxhighlight lang="html" inline>Some text{{thin space}}<ref>...</ref></syntaxhighlight> || Some text{{thin space}}{{dummy reference}}
|<syntaxhighlight lang="html" inline="">Some text{{thin space}}<ref>...</ref></syntaxhighlight>
|<code><nowiki>Some text{{spaces|thin}}<ref>...</ref></nowiki></code>
|Some text{{thin space}}{{dummy reference}}
|Some text{{spaces|thin}}{{dummy reference}}
|-
| Standard{{sup|a}} || {{Bordered arrows|&nbsp;}} || <syntaxhighlight lang="html" inline>Some text&nbsp;<ref>...</ref></syntaxhighlight> || Some text&nbsp;{{dummy reference}}
|<syntaxhighlight lang="html" inline="">Some text&nbsp;<ref>...</ref></syntaxhighlight>
|<code><nowiki>Some text{{spaces}}<ref>...</ref></nowiki></code>
|Some text&nbsp;{{dummy reference}}
|Some text{{spaces}}{{dummy reference}}
|-
| En || {{Bordered arrows|&ensp;}} || <syntaxhighlight lang="html" inline>1&ensp;3</syntaxhighlight> ||1&ensp;3
|<syntaxhighlight lang="html" inline="">1&ensp;3</syntaxhighlight>
|<code><nowiki>1{{spaces|en}}3</nowiki></code>
|1&ensp;3
|1{{spaces|en}}3
|-
| Figure || {{Bordered arrows|{{figure space}}}} || <syntaxhighlight lang="html" inline>123<br/>1{{figure space}}3</syntaxhighlight> || 123<br/>1{{figure space}}3
|<syntaxhighlight lang="html" inline="">123<br/>1{{figure space}}3</syntaxhighlight>
|<code><nowiki>123{{br}}1{{spaces|fig}}3</nowiki></code>
|123<br />1{{figure space}}3
|123{{br}}1{{spaces|fig}}3
|-
| Em || {{Bordered arrows|&emsp;}} || <syntaxhighlight lang="html" inline>1&emsp;3</syntaxhighlight> ||1&emsp;3
|<syntaxhighlight lang="html" inline="">1&emsp;3</syntaxhighlight>
|<code><nowiki>1{{spaces|em}}3</nowiki></code>
|1&emsp;3
|1{{spaces|em}}3
|-
|}{{raise|{{smaller|&nbsp;{{sup|a}} Provided here by a [[Wikipedia:non-breaking space|non-breaking space]] ({{mono|105%|&amp;nbsp;}}).}}}}