Difference between revisions of "Template:Space comparison"
Jump to navigation
Jump to search
m (1 revision imported) |
m (1 revision imported) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
!Output {{Tl|spaces}} | !Output {{Tl|spaces}} | ||
|- | |- | ||
|''none''||{{Bordered arrows|}}||<syntaxhighlight lang=" | |''none''||{{Bordered arrows|}}||<syntaxhighlight lang="wikitext" inline="">Text<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="wikitext" inline="">''Text''<ref>...</ref></syntaxhighlight> | ||
| | | | ||
|Text{{dummy reference}}<br>''Text''{{dummy reference|2}} | |Text{{dummy reference}}<br>''Text''{{dummy reference|2}} | ||
Line 10: | Line 10: | ||
|- | |- | ||
|Hair<br>(Very thin)||{{Bordered arrows|{{hair space}}}} | |Hair<br>(Very thin)||{{Bordered arrows|{{hair space}}}} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">Text{{hair space}}<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="wikitext" inline="">''Text''{{hair space}}<ref>...</ref></syntaxhighlight> | ||
|<code><nowiki>Text{{spaces|hair}}<ref>...</ref></nowiki></code> | |<code><nowiki>Text{{spaces|hair}}<ref>...</ref></nowiki></code> | ||
|Text{{hair space}}{{dummy reference}}<br>''Text''{{hair space}}{{dummy reference|2}} | |Text{{hair space}}{{dummy reference}}<br>''Text''{{hair space}}{{dummy reference|2}} | ||
Line 16: | Line 16: | ||
|- | |- | ||
|2-pixel||{{Bordered arrows|{{px2}}}} | |2-pixel||{{Bordered arrows|{{px2}}}} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">Text{{px2}}<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="wikitext" inline="">''Text''{{px2}}<ref>...</ref></syntaxhighlight> | ||
| | | | ||
|Text{{px2}}{{dummy reference}}<br>''Text''{{px2}}{{dummy reference|2}} | |Text{{px2}}{{dummy reference}}<br>''Text''{{px2}}{{dummy reference|2}} | ||
Line 22: | Line 22: | ||
|- | |- | ||
|Narrow no-break||{{Bordered arrows|{{narrow no-break space}}}} | |Narrow no-break||{{Bordered arrows|{{narrow no-break space}}}} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">Text{{narrow no-break space}}<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="wikitext" inline="">''Text''{{narrow no-break space}}<ref>...</ref></syntaxhighlight> | ||
| | | | ||
|Text{{narrow no-break space}}{{dummy reference}}<br>''Text''{{narrow no-break space}}{{dummy reference|2}} | |Text{{narrow no-break space}}{{dummy reference}}<br>''Text''{{narrow no-break space}}{{dummy reference|2}} | ||
Line 28: | Line 28: | ||
|- | |- | ||
|Thin||{{Bordered arrows|{{thin space}}}} | |Thin||{{Bordered arrows|{{thin space}}}} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">Text{{thin space}}<ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="wikitext" inline="">''Text''{{thin space}}<ref>...</ref></syntaxhighlight> | ||
|<code><nowiki>Text{{spaces|thin}}<ref>...</ref></nowiki></code> | |<code><nowiki>Text{{spaces|thin}}<ref>...</ref></nowiki></code> | ||
|Text{{thin space}}{{dummy reference}}<br>''Text''{{thin space}}{{dummy reference|2}} | |Text{{thin space}}{{dummy reference}}<br>''Text''{{thin space}}{{dummy reference|2}} | ||
|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{{ | |Standard{{efn|Provided here by a [[Wikipedia:non-breaking space|non-breaking space]] ({{mono|105%|&nbsp;}}).}}||{{Bordered arrows| }} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">Text <ref>...</ref></syntaxhighlight><br><syntaxhighlight lang="wikitext" inline="">''Text'' <ref>...</ref></syntaxhighlight> | ||
|<code><nowiki>Text{{spaces}}<ref>...</ref></nowiki></code> | |<code><nowiki>Text{{spaces}}<ref>...</ref></nowiki></code> | ||
|Text {{dummy reference}} | |Text {{dummy reference}} | ||
Line 40: | Line 40: | ||
|- | |- | ||
|En||{{Bordered arrows| }} | |En||{{Bordered arrows| }} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">1 3</syntaxhighlight> | ||
|<code><nowiki>1{{spaces|en}}3</nowiki></code> | |<code><nowiki>1{{spaces|en}}3</nowiki></code> | ||
|1 3 | |1 3 | ||
Line 46: | Line 46: | ||
|- | |- | ||
|Figure||{{Bordered arrows|{{figure space}}}} | |Figure||{{Bordered arrows|{{figure space}}}} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">123<br/>1{{figure space}}3</syntaxhighlight> | ||
|<code><nowiki>123<br/>1{{spaces|fig}}3</nowiki></code> | |<code><nowiki>123<br/>1{{spaces|fig}}3</nowiki></code> | ||
|123<br />1{{figure space}}3 | |123<br />1{{figure space}}3 | ||
Line 52: | Line 52: | ||
|- | |- | ||
|Em||{{Bordered arrows| }} | |Em||{{Bordered arrows| }} | ||
|<syntaxhighlight lang=" | |<syntaxhighlight lang="wikitext" inline="">1 3</syntaxhighlight> | ||
|<code><nowiki>1{{spaces|em}}3</nowiki></code> | |<code><nowiki>1{{spaces|em}}3</nowiki></code> | ||
|1 3 | |1 3 | ||
|1{{spaces|em}}3 | |1{{spaces|em}}3 | ||
|- | |- | ||
|}{{ | |}{{notelist}} | ||
<noinclude>[[Category:Inline spacing templates]]</noinclude> |
Latest revision as of 12:44, 7 November 2023
Name (alias) |
→ Instance← |
Example code and ... | Using {{spaces}} | Output | Output {{spaces}} |
---|---|---|---|---|---|
none | → ← |
<syntaxhighlight lang="wikitext" inline="">Text[1]</syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text[2]</syntaxhighlight> |
Text[1] Text[2] |
||
Hair (Very thin) |
→ ←
|
<syntaxhighlight lang="wikitext" inline="">Text [3]</syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text [4]</syntaxhighlight> |
Text{{spaces|hair}}<ref>...</ref>
|
Text [1] Text [2] |
Text [1] Text [2] |
2-pixel | → ←
|
<syntaxhighlight lang="wikitext" inline="">Text[5]</syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text[6]</syntaxhighlight> |
Text Text [2] |
[1]||
Narrow no-break | → ←
|
<syntaxhighlight lang="wikitext" inline="">Text [7]</syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text [8]</syntaxhighlight> |
Text [1] Text [2] |
||
Thin | → ←
|
<syntaxhighlight lang="wikitext" inline="">Text [9]</syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text [10]</syntaxhighlight> |
Text{{spaces|thin}}<ref>...</ref>
|
Text [1] Text [2] |
Text [1] Text [2] |
Standard[lower-alpha 1] | → ←
|
<syntaxhighlight lang="wikitext" inline="">Text [11]</syntaxhighlight> <syntaxhighlight lang="wikitext" inline="">Text [12]</syntaxhighlight> |
Text{{spaces}}<ref>...</ref>
|
Text [1] | Text [1] Text [2] |
En | → ←
|
<syntaxhighlight lang="wikitext" inline="">1 3</syntaxhighlight> | 1{{spaces|en}}3
|
1 3 | 1 3 |
Figure | → ←
|
<syntaxhighlight lang="wikitext" inline="">123 1 3</syntaxhighlight> |
123<br/>1{{spaces|fig}}3
|
123 1 3 |
123 1 3 |
Em | → ←
|
<syntaxhighlight lang="wikitext" inline="">1 3</syntaxhighlight> | 1{{spaces|em}}3
|
1 3 | 1 3 |
- ↑ Provided here by a non-breaking space ( ).