Template:Spaces

From Wikipedia, the free encyclopedia
Jump to: navigation, search

 

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


Template to produce single or multiple non-breaking spaces (" ").

Syntax 
{{spaces|N}}
where the optional parameter N is the desired number of consecutive non-breaking spaces (numeric, with a range of 1 and larger)
{{spaces}}
produces a single non-breaking space. You may also use {{nbsp}} (which redirects to this template) as a shortcut for a single non-breaking space

Template data

This is the TemplateData documentation for the template used by the new VisualEditor.

Spaces

Inserts one or more non-breaking spaces

Template parameters
Parameter Description Type Default Status
Quantity 1 How many non-breaking spaces to insert number 1 optional

See also

  • {{pad}}; add spacing in px, em or ex
  • {{Nowrap}}; stops wrapping of specific text
  • {{Nb5}}; inserts 5 non-breaking spaces