Difference between revisions of "Template:Figure space/doc"
Jump to navigation
Jump to search
imported>Dinoguy1000 ({{unichar}}) |
imported>Funandtrvl (add category) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | {{ | + | {{template shortcut|fs|fsp}} |
== Usage == | == Usage == | ||
| − | {{tlx| | + | {{tlx|Figure space}} provides a {{unichar|2007|figure space|html=|nlink=}}, a non-breaking space equal in width to a digit. This is equivalent to: |
{{#tag:syntaxhighlight|{{Figure space}}|lang=html}} | {{#tag:syntaxhighlight|{{Figure space}}|lang=html}} | ||
An optional parameter specifies the number of spaces to generate: | An optional parameter specifies the number of spaces to generate: | ||
| − | {{tlx| | + | {{tlx|Figure space|5}} produces |
{{#tag:syntaxhighlight|{{Figure space|5}}|lang=html}} | {{#tag:syntaxhighlight|{{Figure space|5}}|lang=html}} | ||
| − | ===See also | + | == TemplateData == |
| + | {{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> | ||
| + | |||
| + | == See also == | ||
{{Inline spacing templates}} | {{Inline spacing templates}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | + | [[Category:Inline spacing templates]] | |
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 20:03, 10 September 2020
| 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
{{Figure space}} 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:
{{Figure space|5}} produces
<span class="nowrap">     </span>
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Quantity | 1 | How many figure spaces to insert
| Number | optional |
See also