टेम्पलेट:Hair space
| This template is used on many 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. |
{{Hair space}} produces the Unicode character U+200A HAIR SPACE (HTML  ), a space character that is slightly thinner than the “thin space” character (see below and Whitespace character). It is forced to be non-breaking, since this is the desired behavior in most uses of this template. If a parameter is supplied, it is sandwiched on both sides with hair space characters (only the first is non-breaking).
Comparisons
[संपादन करीं]| Name / size | →Instance← | Example code and ... | output |
|---|---|---|---|
| none | →← | Some text<ref>...</ref> | Some text[1] |
| Hair | → ← | Some text{{hsp}}<ref>...</ref> | Some text [1] |
| Narrow no-break | → ← | Some text{{nnbsp}}<ref>...</ref> | Some text [1] |
| 2 pixel | →← | Some text{{px2}}<ref>...</ref> | Some text[1] |
| Thin | → ← | Some text{{tsp}}<ref>...</ref> | Some text [1] |
| Standarda | → ← | Some text <ref>...</ref> | Some text [1] |
| En | → ← |   | |
| Figure | → ← | 123<br/>1{{fsp}}3 | 123 1 3 |
| Em | → ← |   |
TemplateData
[संपादन करीं]TemplateData for Hair space
Inserts a very thin "hair space" unicode character, if no parameters are provided. If {{para|1}} is, that text is wrapped on each side with a hair space.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text to wrap in hair-spaces | 1 | optional word to surround with hair spaces | Line | optional |
| optional text before | before | optional word before the hair spaced param 1 | Line | optional |
| optional text after | after | optional word or text after the hair-spaced text | Line | optional |
See also
[संपादन करीं]- {{Very thin space}} – redirect
- {{Mhair}} – provides an em dash and a hair space, ideal for use just before a ~~~~ signature