Jump to content

Template:Space comparison: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
No edit summary
No edit summary
Line 5: Line 5:
|-
|-
|''none''||{{Bordered arrows|}}||<syntaxhighlight lang="html" inline="">Some text<ref>...</ref></syntaxhighlight>
|''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>
|Hair||{{Bordered arrows|{{hair space}}}}
| ||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}}
|-
|-
|2-pixel||{{Bordered arrows|{{px2}}}}||<syntaxhighlight lang="html" inline="">Some text{{px2}}<ref>...</ref></syntaxhighlight>
|2-pixel||{{Bordered arrows|{{px2}}}}
| ||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>
|Narrow no-break||{{Bordered arrows|{{narrow no-break space}}}}
| ||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>
|Thin||{{Bordered arrows|{{thin space}}}}
| ||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}}
|-
|-
|Standard{{sup|a}}||{{Bordered arrows|&nbsp;}}||<syntaxhighlight lang="html" inline="">Some text&nbsp;<ref>...</ref></syntaxhighlight>
|Standard{{sup|a}}||{{Bordered arrows|&nbsp;}}
|<syntaxhighlight lang="html" inline="">Some text&nbsp;<ref>...</ref></syntaxhighlight>
| ||Some text&nbsp;{{dummy reference}}
|
|Some text&nbsp;{{dummy reference}}
|-
|-
|En||{{Bordered arrows|&ensp;}}||<syntaxhighlight lang="html" inline="">1&ensp;3</syntaxhighlight>
|En||{{Bordered arrows|&ensp;}}
|<syntaxhighlight lang="html" inline="">1&ensp;3</syntaxhighlight>
| ||1&ensp;3
|
|1&ensp;3
|-
|-
|Figure||{{Bordered arrows|{{figure space}}}}||<syntaxhighlight lang="html" inline="">123<br/>1{{figure space}}3</syntaxhighlight>
|Figure||{{Bordered arrows|{{figure space}}}}
| ||123<br />1{{figure space}}3
|<syntaxhighlight lang="html" inline="">123<br/>1{{figure space}}3</syntaxhighlight>
|<code><nowiki>Some text{{spaces|fig}}<ref>...</ref></nowiki></code>
|123<br />1{{figure space}}3
|-
|-
|Em||{{Bordered arrows|&emsp;}}||<syntaxhighlight lang="html" inline="">1&emsp;3</syntaxhighlight>
|Em||{{Bordered arrows|&emsp;}}
|<syntaxhighlight lang="html" inline="">1&emsp;3</syntaxhighlight>
| ||1&emsp;3
|<code><nowiki>Some text{{spaces|em}}<ref>...</ref></nowiki></code>
|1&emsp;3
|-
|-
|}{{raise|{{smaller|&nbsp;{{sup|a}} Provided here by a [[Wikipedia:non-breaking space|non-breaking space]] ({{mono|105%|&amp;nbsp;}}).}}}}
|}{{raise|{{smaller|&nbsp;{{sup|a}} Provided here by a [[Wikipedia:non-breaking space|non-breaking space]] ({{mono|105%|&amp;nbsp;}}).}}}}

Revision as of 17:45, 5 November 2020

Name / size Instance Example code and ... Using {{spaces}} output
none Some text<ref>...</ref> Some text[1]
Hair Some text{{hair space}}<ref>...</ref> Some text{{spaces|hair}}<ref>...</ref> Some text [1]
2-pixel Some text{{px2}}<ref>...</ref> Some text[1]
Narrow no-break Some text{{narrow no-break space}}<ref>...</ref> Some text [1]
Thin Some text{{thin space}}<ref>...</ref> Some text{{spaces|thin}}<ref>...</ref> Some text[1]
Standarda   Some text&nbsp;<ref>...</ref> Some text [1]
En 1&ensp;3 1 3
Figure 123<br/>1{{figure space}}3 Some text{{spaces|fig}}<ref>...</ref> 123
13
Em 1&emsp;3 Some text{{spaces|em}}<ref>...</ref> 1 3

 a Provided here by a non-breaking space (&nbsp;).