Vorlage:Spaces: Unterschied zwischen den Versionen
Weitere Optionen
| Zeile 1: | Zeile 1: | ||
| ⚫ | |||
{{#tag:syntaxhighlight|<onlyinclude><!-- |
|||
| ⚫ | |||
--><includeonly><templatestyles src="Template:Nowrap/styles.css"/></includeonly><!-- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}} |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
-->}}<!-- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
-->|{{#switch:{{{2}}}<!-- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}}</span><noinclude> |
|||
| ⚫ | |||
{{/doc}} |
|||
| ⚫ | |||
</noinclude> |
|||
-->}}<!-- |
|||
| ⚫ | |||
-->}}<!-- |
|||
-->}}</span></onlyinclude>|lang=html}} |
|||
{{Documentation}} |
|||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> |
|||
Aktuelle Version vom 12. Februar 2025, 23:26 Uhr
A template to produce one or more non-breaking spaces ( character entities).
Usage
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 ( ) 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.
Template data
Inserts one or more non-breaking spaces
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Quantity | 1 | How many non-breaking spaces to insert
| Zahlenwert | optional |
| Type | 2 | Non-default types (in decreasing order of width): em, fig, en, thin, hair
| Mehrzeiliger Text | optional |
See also
- Vorlage:Tlg to stop the linewrapping of any part of Vorlage:Var