Template:Spaces/doc

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

Syntax
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):,  ,  ,  ,. 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  and.

produces a single non-breaking space of the type indicated.

Controlling line-breaking in infoboxes
This template, usually as its alias, may be used with and  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.

Template data
{	"description": "Inserts one or more non-breaking spaces", "params": { "1": {			"label": "Quantity", "description": "How many non-breaking spaces to insert", "type": "number", "default": "1" },		"2": {			"label": "Type", "description": "Non-default types (in decreasing order of width): em, fig, en, thin, hair", "type": "string", "default": " ", "suggestedvalues": [ "em", "fig", "en", "nbsp", "thin", "hair" ]		}	} }