Template:Hair space/doc
| This is a documentation subpage for Template:Hair space. It contains usage information, categories and other content that is not part of the original template page. |
{{Hsp}} produces the Unicode character Error using {{unichar}}: Input "200a" is not a hexadecimal value., 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 | →← |
<source lang="html" inline>Some text[1]</source> | Some text[1] |
| Hair | → ← |
<source lang="html" inline>Some text [2]</source> | Some text [1] |
| Narrow no-break | → ← |
<source lang="html" inline>Some text [3]</source> | Some text [1] |
| 2 pixel | →← |
<source lang="html" inline>Some text[4]</source> | Some text[1] |
| Thin | → ← |
<source lang="html" inline>Some text [5]</source> | Some text [1] |
| Standarda | → ← |
<source lang="html" inline>Some text [6]</source> | Some text [1] |
| En | → ← |
<source lang="html" inline> </source> | |
| Figure | → ← |
<source lang="html" inline>123 1 3</source> |
123 1 3 |
| Em | → ← |
<source lang="html" inline> </source> |
a Provided here by a non-breaking space ( ).