Template:Narrow no-break space

From Simple English Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template can be used to display the character entity U+202F NARROW NO-BREAK SPACE (HTML  )

Usage[change source]

Using this template will cause   to display correctly. This web page can be used to see how Unicode space characters display in a browser window.

Examples[change source]

Gonzales added that "{{nnbsp}}'interesting times' is quite a euphemism for this chaos". → Gonzales added that " 'interesting times' is quite a euphemism for this chaos".

Their wedding cost US${{nnbsp}}2,000,000. → Their wedding cost US$ 2,000,000.

Parameter[change source]

This template takes one parameter, which is the text to be wrapped by two thin spaces. For example:

({{nnbsp|symbol}}) → ( symbol )
as opposed to:
(symbol) → (symbol)

TemplateData[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Narrow no-break space

Inserts a very thin "narrow non-breaking space" (NNBSP) unicode character, if no parameters are provided. If {{para|1}} is, that text is wrapped on each side with NNBSP's.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text to wrap in NNBSP-spaces1

optional word to surround with NNBSP spaces

Lineoptional
optional text beforebefore

optional word before the NNBSP spaced param 1

Lineoptional
optional text afterafter

optional word or text after the NNBSP-spaced text

Lineoptional

See also[change source]