Template:Thin space: Difference between revisions
Appearance
Content deleted Content added
Sync tampered notice of move discussion on Template talk:Thinspace |
Removing notice of move discussion |
||
Line 1: | Line 1: | ||
⚫ | |||
<noinclude>{{User:RMCD bot/subject notice|1=Template:Thin space separated entries|2=Template talk:Thinspace#Requested move 24 May 2021}} |
|||
⚫ | |||
-->{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}| {{{3}}}}}<!-- |
-->{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}| {{{3}}}}}<!-- |
||
-->{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}| {{{5}}}}}<!-- |
-->{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}| {{{5}}}}}<!-- |
Revision as of 09:24, 22 July 2021
This template is used on approximately 17,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Displays its arguments in a {{nowrap}} span separated by thin spaces ( 
). (Supports up to 10 arguments.) If only one parameter the text in parameter one is surrounded by one thin space on each side. With no parameters it will output one  
.
Usage
Input | Output |
---|---|
{{thinspace |
J. R. R. Tolkien |
{{thinspace|sin|2''φ''}}
|
sin 2φ |
{{thinspace|''x''|{{=}}|2}}
|
x = 2 |
{{thinspace |
299 792 458 m/s |
{{thinspace}} | |
({{thinspace |
( symbol ) |
Comparisons
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 Text [2] |
[1]||
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 <ref>...</ref> ''Text'' <ref>...</ref>
|
Text{{spaces}}<ref>...</ref>
|
Text [1] | Text [1] Text [2] |
En | → ←
|
1 3
|
1{{spaces|en}}3
|
1 3 | 1 3 |
Figure | → ←
|
123<br/>1{{figure space}}3
|
123<br/>1{{spaces|fig}}3
|
123 1 3 |
123 1 3 |
Em | → ←
|
1 3
|
1{{spaces|em}}3
|
1 3 | 1 3 |
- ^ Provided here by a non-breaking space ( ).