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 2: Line 2:
|-
|-
!Name / size||{{Bordered arrows|Instance}}||Example code and ...
!Name / size||{{Bordered arrows|Instance}}||Example code and ...
!Using {{Tl|spaces}}||output
!Using {{Tl|spaces}}||Output Html
!Output {{Tl|spaces}}
|-
|-
|''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}}}}
|Hair||{{Bordered arrows|{{hair space}}}}
Line 12: Line 14:
|<code><nowiki>Some text{{spaces|hair}}<ref>...</ref></nowiki></code>
|<code><nowiki>Some text{{spaces|hair}}<ref>...</ref></nowiki></code>
|Some text{{hair space}}{{dummy reference}}
|Some text{{hair space}}{{dummy reference}}
|
|-
|-
|2-pixel||{{Bordered arrows|{{px2}}}}
|2-pixel||{{Bordered arrows|{{px2}}}}
Line 17: Line 20:
|
|
|Some text{{px2}}{{dummy reference}}
|Some text{{px2}}{{dummy reference}}
|
|-
|-
|Narrow no-break||{{Bordered arrows|{{narrow no-break space}}}}
|Narrow no-break||{{Bordered arrows|{{narrow no-break space}}}}
|<syntaxhighlight lang="html" inline="">Some text{{narrow no-break space}}<ref>...</ref></syntaxhighlight>
|<syntaxhighlight lang="html" inline="">Some text{{narrow no-break space}}<ref>...</ref></syntaxhighlight>
|
|
|Some text{{narrow no-break space}}{{dummy reference}}
|Some text{{narrow no-break space}}{{dummy reference}}
|
|-
|-
|Thin||{{Bordered arrows|{{thin space}}}}
|Thin||{{Bordered arrows|{{thin space}}}}
Line 27: Line 32:
|<code><nowiki>Some text{{spaces|thin}}<ref>...</ref></nowiki></code>
|<code><nowiki>Some text{{spaces|thin}}<ref>...</ref></nowiki></code>
|Some text{{thin space}}{{dummy reference}}
|Some text{{thin space}}{{dummy reference}}
|
|-
|-
|Standard{{sup|a}}||{{Bordered arrows|&nbsp;}}
|Standard{{sup|a}}||{{Bordered arrows|&nbsp;}}
|<syntaxhighlight lang="html" inline="">Some text&nbsp;<ref>...</ref></syntaxhighlight>
|<syntaxhighlight lang="html" inline="">Some text&nbsp;<ref>...</ref></syntaxhighlight>
|
|
|Some text&nbsp;{{dummy reference}}
|Some text&nbsp;{{dummy reference}}
|
|-
|-
|En||{{Bordered arrows|&ensp;}}
|En||{{Bordered arrows|&ensp;}}
|<syntaxhighlight lang="html" inline="">1&ensp;3</syntaxhighlight>
|<syntaxhighlight lang="html" inline="">1&ensp;3</syntaxhighlight>
|
|
|1&ensp;3
|1&ensp;3
|
|-
|-
|Figure||{{Bordered arrows|{{figure space}}}}
|Figure||{{Bordered arrows|{{figure space}}}}
Line 42: Line 50:
|<code><nowiki>Some text{{spaces|fig}}<ref>...</ref></nowiki></code>
|<code><nowiki>Some text{{spaces|fig}}<ref>...</ref></nowiki></code>
|123<br />1{{figure space}}3
|123<br />1{{figure space}}3
|
|-
|-
|Em||{{Bordered arrows|&emsp;}}
|Em||{{Bordered arrows|&emsp;}}
Line 47: Line 56:
|<code><nowiki>Some text{{spaces|em}}<ref>...</ref></nowiki></code>
|<code><nowiki>Some text{{spaces|em}}<ref>...</ref></nowiki></code>
|1&emsp;3
|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:46, 5 November 2020

Name / size Instance Example code and ... Using {{spaces}} Output Html Output {{spaces}}
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;).