Template:Nbsp

From Miranda NG
Jump to navigation Jump to search

 

Template documentation[view] [edit] [history] [purge]

A template to produce one or more non-breaking spaces (  character entities).

Usage

Syntax
{{spaces|N}} ...... to produce N consecutive non-breaking spaces (where N is a whole number larger than zero).

{{spaces}} without any parameter produces a single non-breaking space, but, as "spaces" is plural, using   itself (or, if this is not possible, {{nbsp}}) is preferred for this purpose.

Controlling line-breaking in infoboxes

This template, usually as its alias {{nbsp}}, may be used with {{wbr}} and {{nowrap}} to control line-breaking in bulletless lists in infoboxes, to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc for details.

See also

  • {{sp}} to insert simple space.
  • {{nowrap}} to stop the linewrapping of any specified part.
  • {{wbr}}