Template:Narrow no-break space/doc

From The Kodiak Republic Wiki

Revision as of 03:07, 20 May 2023 by Silmjlc (talk | contribs) (Created page with "{{Documentation subpage}} {{Template shortcut|nnbsp}} This template can be used to display the character entity {{unichar|202f|narrow no-break space|html=}} ==Usage== Using this template will cause &#8239; to display correctly. This [http://www.cs.tut.fi/~jkorpela/chars/spaces.html web page] can be used to see how Unicode space characters display in a browser window. ===Example=== <code><nowiki>Gonzales added that "{{nnbsp}}'interesting times' is quite a e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template can be used to display the character entity Expression error: Unrecognized punctuation character "[".

Usage

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

Example

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". (Note that {{"'}} and {{'"}} are more proper alternatives for formatting nested quotations.)

Parameter

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

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 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

Template:Inline spacing templates


Cookies help us deliver our services. By using our services, you agree to our use of cookies.