imported>Oetterer |
|||
Zeile 4: | Zeile 4: | ||
{{Lua|Module:String}}<!--wider box than {{Template shortcut}}--> | {{Lua|Module:String}}<!--wider box than {{Template shortcut}}--> | ||
− | A template to produce multiple [[wpen:non-breaking space]]s ("<code><big>&nbsp;</big></code>"s). | + | A template to produce multiple [[wpen:non-breaking space|non-breaking space]]s ("<code><big>&nbsp;</big></code>"s). |
; Syntax : <code><big><nowiki>{{spaces|</nowiki>''N''}}</big></code> ...... to produce ''N'' consecutive non-breaking spaces (where ''N'' is a [[wpen:Integer|whole number]] larger than zero). | ; Syntax : <code><big><nowiki>{{spaces|</nowiki>''N''}}</big></code> ...... to produce ''N'' consecutive non-breaking spaces (where ''N'' is a [[wpen:Integer|whole number]] larger than zero). |
Aktuelle Version vom 5. Oktober 2022, 16:10 Uhr
This is a documentation subpage for Vorlage:Spaces. It contains usage information, categories and other content that is not part of the original vorlage page. |
This template uses Lua: |
A template to produce multiple non-breaking spaces ("
"s).
- Syntax
{{spaces|N}}
...... to produce N consecutive non-breaking spaces (where N is a whole number larger than zero).
{{spaces}}
without any parameter produces a single non-breaking space, but, as "spaces" is plural, using
itself (or, if this is not possible, {{nbsp}}
) is preferred for this purpose.
See also[Quelltext bearbeiten]
- {{pad}} to add inline spacing in units of px, em or ex.
{{nowrap|item}}
to stop the linewrapping of any part of item.