Template:Nbsp

From Miranda NG
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

 

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