Script error: No such module "Message box".__EXPECTED_UNCONNECTED_PAGE__ Script error: No such module "High-use". Script error: No such module "Shortcut".

{{Hair space}} produces the Unicode character Expression error: Unexpected < operator.Script error: No such module "Check for unknown parameters"., 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<templatestyles src="Template:Fake link/styles.css" />[1]
Text<templatestyles src="Template:Fake link/styles.css" />[2]
Hair
(Very thin)
→ ← Text{{hair space}}<ref>...</ref>
''Text''{{hair space}}<ref>...</ref>
Text{{spaces|hair}}<ref>...</ref> Text <templatestyles src="Template:Fake link/styles.css" />[1]
Text <templatestyles src="Template:Fake link/styles.css" />[2]
Text <templatestyles src="Template:Fake link/styles.css" />[1]
Text <templatestyles src="Template:Fake link/styles.css" />[2]
2-pixel →‍← Text{{px2}}<ref>...</ref>
''Text''{{px2}}<ref>...</ref>
Text‍<templatestyles src="Template:Fake link/styles.css" />[1]
Text‍<templatestyles src="Template:Fake link/styles.css" />[2]
Narrow no-break → ← Text{{narrow no-break space}}<ref>...</ref>
''Text''{{narrow no-break space}}<ref>...</ref>
Text <templatestyles src="Template:Fake link/styles.css" />[1]
Text <templatestyles src="Template:Fake link/styles.css" />[2]
Thin → ← Text{{thin space}}<ref>...</ref>
''Text''{{thin space}}<ref>...</ref>
Text{{spaces|thin}}<ref>...</ref> Text <templatestyles src="Template:Fake link/styles.css" />[1]
Text <templatestyles src="Template:Fake link/styles.css" />[2]
Text <templatestyles src="Template:Fake link/styles.css" />[1]
Text <templatestyles src="Template:Fake link/styles.css" />[2]
Standard[lower-alpha 1] → ← Text&nbsp;<ref>...</ref>
''Text''&nbsp;<ref>...</ref>
Text{{spaces}}<ref>...</ref> Text <templatestyles src="Template:Fake link/styles.css" />[1] TextScript error: No such module "String".<templatestyles src="Template:Fake link/styles.css" />[1]
TextScript error: No such module "String".<templatestyles src="Template:Fake link/styles.css" />[2]
En → ← 1&ensp;3 1{{spaces|en}}3 1 3 1 3
Figure →Script error: No such module "String".← 123<br/>1&numsp;3 123<br/>1{{spaces|fig}}3 123
1 3
123
1 3
Em → ← 1&emsp;3 1{{spaces|em}}3 1 3 1 3

<templatestyles src="Reflist/styles.css" />

  1. ↑ Provided here by a non-breaking space (<templatestyles src="Mono/styles.css" />&nbsp;).

Script error: No such module "Check for unknown parameters".Script error: No such module "Check for unknown parameters".


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

Script error: No such module "Check for unknown parameters".

<templatedata> { "params": { "1": { "label": "text to wrap in hair-spaces", "description": "optional word to surround with hair spaces", "type": "line" }, "before": { "label": "optional text before", "description": "optional word before the hair spaced param 1", "type": "line" }, "after": { "label": "optional text after", "description": "optional word or text after the hair-spaced text", "type": "line" } }, "description": "Inserts a very thin \"hair space\" unicode character, if no parameters are provided. If |1= is, that text is wrapped on each side with a hair space.", "format": "inline" } </templatedata>

See also

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

Script error: No such module "Navbox".