Jump to content

Template:Space comparison: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add cat
replace manually generated footnote with {{efn}} and {{notelist}}
Line 33: Line 33:
|Text{{spaces|thin}}{{dummy reference}}<br>''Text''{{spaces|thin}}{{dummy reference|2}}
|Text{{spaces|thin}}{{dummy reference}}<br>''Text''{{spaces|thin}}{{dummy reference|2}}
|-
|-
|Standard{{sup|a}}||{{Bordered arrows|&nbsp;}}
|Standard{{efn|Provided here by a [[Wikipedia:non-breaking space|non-breaking space]] ({{mono|105%|&amp;nbsp;}}).}}||{{Bordered arrows|&nbsp;}}
|<syntaxhighlight lang="html" inline="">Text&nbsp;<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="html" inline="">''Text''&nbsp;<ref>...</ref></syntaxhighlight>
|<syntaxhighlight lang="html" inline="">Text&nbsp;<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="html" inline="">''Text''&nbsp;<ref>...</ref></syntaxhighlight>
|<code><nowiki>Text{{spaces}}<ref>...</ref></nowiki></code>
|<code><nowiki>Text{{spaces}}<ref>...</ref></nowiki></code>
Line 57: Line 57:
|1{{spaces|em}}3
|1{{spaces|em}}3
|-
|-
|}{{notelist}}
|}{{raise|{{smaller|&nbsp;{{sup|a}} Provided here by a [[Wikipedia:non-breaking space|non-breaking space]] ({{mono|105%|&amp;nbsp;}}).}}}}
<noinclude>[[Category:Inline spacing templates]]</noinclude>
<noinclude>[[Category:Inline spacing templates]]</noinclude>

Revision as of 20:39, 16 April 2023

Name
(alias)
Instance Example code and ... Using {{spaces}} Output Output {{spaces}}
none Text<ref>...</ref>
''Text''<ref>...</ref>
Text[1]
Text[2]
Hair
(Very thin)
Text{{hair space}}<ref>...</ref>
''Text''{{hair space}}<ref>...</ref>
Text{{spaces|hair}}<ref>...</ref> Text [1]
Text[2]
Text[1]
Text[2]
2-pixel Text{{px2}}<ref>...</ref>
''Text''{{px2}}<ref>...</ref>
Text[1]
Text[2]
Narrow no-break Text{{narrow no-break space}}<ref>...</ref>
''Text''{{narrow no-break space}}<ref>...</ref>
Text [1]
Text[2]
Thin Text{{thin space}}<ref>...</ref>
''Text''{{thin space}}<ref>...</ref>
Text{{spaces|thin}}<ref>...</ref> Text[1]
Text[2]
Text[1]
Text[2]
Standard[a]   Text&nbsp;<ref>...</ref>
''Text''&nbsp;<ref>...</ref>
Text{{spaces}}<ref>...</ref> Text [1] Text [1]
Text [2]
En 1&ensp;3 1{{spaces|en}}3 1 3 13
Figure 123<br/>1{{figure space}}3 123<br/>1{{spaces|fig}}3 123
13
123
13
Em 1&emsp;3 1{{spaces|em}}3 1 3 13
  1. ^ Provided here by a non-breaking space (&nbsp;).