Template:Spaces

From TechInfoDepot
Revision as of 01:01, 24 May 2019 by DarkShadow (talk | contribs) (Created page with "<includeonly><span style="white-space:nowrap;">{{loop15|{{{1|1}}}| }}</span></includeonly><noinclude> {{documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

A template to produce multiple non-breaking spaces ("&nbsp;"s).

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 &nbsp; itself (or, if this is not possible, {{nbsp}}) is preferred for this purpose.

Template data

See also

  • {{pad}} to add inline spacing in units of px, em or ex.
  • {{nowrap|item}} to stop the linewrapping of any part of item.
  • {{nb5}} to insert five non-breaking spaces.