Jump to content

Teamplaid:Spaces/documentation

O Wiktionary

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

Ùsaid - Usage

Co-chàradh - Syntax

{{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 ({{Spaces|1}}) 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.

Controlling line-breaking in infoboxes

This template 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 Controlling line-breaking in infoboxes for details.

Teamplaid-dàta - TemplateData

This is the WP:TemplateData documentation for this template used by WP:VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Spaces

Inserts one or more non-breaking spaces

Paramadairean na teamplaide[Stiùirich an TemplateData]

ParamadairTuairisgeulSeòrsaStaid
Quantity1

How many non-breaking spaces to insert

Bun-roghainn
1
Àireamhroghainneil
Type2

Non-default types (in decreasing order of width): em, fig, en, thin, hair

Bun-roghainn
{{Spaces|1}}
Sreangroghainneil

Faic cuideachd - Also see

  • {{Pad}} to add inline spacing in units of px, em or ex
  • {{0}} to add invisible characters
  • {{Nowrap|item}} to stop the line wrapping of any part of Item
  • {{Nb5}} to insert five non-breaking spaces
  • {{Indent}} indents by a specified number of spaces (with leading newline)
  • {{In5}} indents by five or a specified number of spaces (with no leading newline)
  • {{Block indent}}, to indent an entire block of content, similar to a block quotation (uses <div> and CSS margins)
  • {{Sp}}, to add regular, breaking space