Difference between revisions of "Template:Figure space/doc"
Jump to navigation
Jump to search
imported>Dinoguy1000 ({{unichar}}) |
imported>Daviddwd (TemplateData) |
||
| Line 18: | Line 18: | ||
}}</includeonly> | }}</includeonly> | ||
| + | == Template data == | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "Inserts one or more figure spaces; a unicode non-breaking space character with width equal to a numeric digit", | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Quantity", | ||
| + | "description": "How many figure spaces to insert", | ||
| + | "type": "number", | ||
| + | "default": "1", | ||
| + | "example": "4", | ||
| + | "autovalue": "1" | ||
| + | } | ||
| + | }, | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
Revision as of 23:03, 4 April 2019
| This is a documentation subpage for Template:Figure space. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{fs}} provides a Template:Unichar, a non-breaking space equal in width to a digit. This is equivalent to:
<span class="nowrap"> </span>
An optional parameter specifies the number of spaces to generate:
{{fs|5}} produces
<span class="nowrap">     </span>
See also
Template data
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Quantity | 1 | How many figure spaces to insert
| Number | optional |