• Home
  • Random
  • Log in
  • Settings
  • About Seeds of the Word
  • Disclaimers
Seeds of the Word

Template:Hair space

  • Language
  • Watch
  • View source

 

Template documentation[view] [edit] [history] [purge]
Shortcuts
  • {{hsp}}
  • {{hairsp}}
  • {{px1}}

{{Hair space}} produces the Unicode character U+200A   HAIR SPACE (HTML  ⧼dot-separator⧽  ,  ), 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 ... Using {{spaces}} Output Output {{spaces}}
none →← Some text<ref>...</ref> Some text[1]
Hair → ← Some text{{hair space}}<ref>...</ref> Some text{{spaces|hair}}<ref>...</ref> Some text [1] Some text [1]
2-pixel →‍← Some text{{px2}}<ref>...</ref> Some text‍[1]
Narrow no-break → ← Some text{{narrow no-break space}}<ref>...</ref> Some text [1]
Thin → ← Some text{{thin space}}<ref>...</ref> Some text{{spaces|thin}}<ref>...</ref> Some text [1] Some text [1]
Standarda → ← Some text&nbsp;<ref>...</ref> Some text{{spaces}}<ref>...</ref> Some text [1] Some text [1]
En → ← 1&ensp;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&emsp;3 1{{spaces|em}}3 1 3 1 3
 a Provided here by a non-breaking space (&nbsp;).

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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[Edit template data]

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

  • v
  • t
  • e
Inline spacing templates
Non-breaking space characters
  • {{figure space}}
  • {{hair space}}
  • {{narrow no-break space}}
  • {{nb5}}
  • {{nb10}}
  • {{ns}}
  • {{quad}}
  • {{spaces}}
  • {{thin space}}
  • {{zero width joiner}}
Breaking space characters
  • {{sp}}
  • {{zero width space}}
Non-character spaces
  • {{gaps}}
  • {{in5}}
  • {{indent}}
  • {{pad}}
  • {{px2}}
  • {{vpad}}
The above documentation is transcluded from Template:Hair space/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.seminaverbi.bibleget.io/w/index.php?title=Template:Hair_space&oldid=22728"
Last edited on September 11, 2020, at 08:20

Languages

      This page is not available in other languages.

      Seeds of the Word
      • This page was last edited on September 11, 2020, at 08:20.
      • Content is available under Creative Commons Attribution unless otherwise noted.
      • Privacy policy
      • About Seeds of the Word
      • Disclaimers
      • Terms of Use
      • Desktop
      • Developers
      • Statistics
      • Cookie statement