Template:Nnbsp/doc

From Angelina Jordan Wiki
Revision as of 19:24, 20 June 2024 by Dcljr (talk | contribs) (use {w} and remove kind of obvious interpretation)
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").

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>

 ⇒ 
 ⇒