Template:Spaces

From Terraria Wiki
(Redirected from Template:Nbsp)
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Spaces/doc. (edit | history)

A template to produce one or more non-breaking spaces (  character entities). It is ported from Wikipedia.

Usage

{{spaces | N | type}} produces N consecutive non-breaking spaces (where N is a whole number larger than zero) of the type specified by the second parameter (which are ordered by decreasing space width): em, fig, en, thin, hair. If type is not specified, N non-breaking spaces ( ) are produced. A non-breaking space has the same width as a standard space, whose width is between the width of en and thin.

{{spaces | type }} produces a single non-breaking space of the type indicated.


The type parameter defaults to  . The template {{nbsp}} can be used as an abbreviation to quickly print a single non-breaking space.