Template:Nnbsp/doc

From Angelina Jordan Wiki
Revision as of 09:09, 25 October 2020 by Dcljr (talk | contribs) (doc created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a subpage documenting Template:Nnbsp. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template produces a narrow non-breaking space. It ignores any input given to it (so that feature can be used to leave notes for future editors, if that is desired).

The name of the template is based on the phrase "narrow non-breaking space" (or "narrow no-break space", or just "narrow nbsp" for those familiar with the HTML character entity for the non-breaking space,  ).

Usage

  • {{nnbsp}}
  • {{nnbsp|text to be ignored by the template}}

Examples

  • ({{nnbsp}}[external link]{{nnbsp}}) ⇒ ( [external link] )
  • ({{nnbsp}}[external link]{{nnbsp|these are narrow nbsp's}}) ⇒ ( [external link] )

For comparison with the regular-width non-breaking space:

  • <span style="background-color:black">{{nnbsp}}</span>
  • <span style="background-color:black">&nbsp;</span>

 ⇒ 
 ⇒