Toggle menu
14
232
69
27.2K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 02:59, 17 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} {{High-use}} <!-- Categories at the bottom of this page, please; interwikis at Wikidata. --> {{Template shortcut|hsp|hairsp|px1}} {{tl|Hair space}} produces the Unicode character {{unichar|200a|hair space|html=|nlink=}}, 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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:High-use

{{Hair space}} produces the Unicode character U+200A HAIR SPACE (&hairsp;, &VeryThinSpace;), 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
(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[lower-alpha 1]   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 (105%).


TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Hair space in articles based on its 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text to wrap in hair-spaces1

optional word to surround with hair spaces

Lineoptional
optional text beforebefore

optional word before the hair spaced param 1

Lineoptional
optional text afterafter

optional word or text after the hair-spaced text

Lineoptional

See also

  • {{Template:Hair space}} – redirect
  • Template:Mhair – provides an em dash and a hair space, ideal for use just before a ~~~~ signature