Difference between revisions of "Template:Figure space"

From blackwiki
Jump to navigation Jump to search
imported>Dinoguy1000
(shortcut)
imported>Ahecht
(use {{documentation}})
Line 1: Line 1:
<noinclude>{{#tag:syntaxhighlight|
+
{{nbs|{{{1|1}}}|fig}}<noinclude>
</noinclude>{{nbs|{{{1|1}}}|fig}}<noinclude>
+
{{documentation}}
|lang=html}}
 
{{tsh|fs|fsp}}
 
This template provides a "figure space", a non-breaking space equal in width to a digit. An optional parameter specifies the number of spaces to generate.
 
 
</noinclude>
 
</noinclude>

Revision as of 23:14, 6 December 2017

Template:Nbs

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

Usage

{{Figure space}} provides a Template:Unichar, a non-breaking space equal in width to a digit. This is equivalent to:

[[:Template:Nbs]]

An optional parameter specifies the number of spaces to generate:

{{Figure space|5}} produces

[[:Template:Nbs]]

TemplateData

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

TemplateData for Figure space

Inserts one or more figure spaces; a unicode non-breaking space character with width equal to a numeric digit

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Quantity1

How many figure spaces to insert

Default
1
Example
4
Auto value
1
Numberoptional

See also