Vorlage:Spaces/doc: Unterschied zwischen den Versionen

IMT HilfeWiki - das Wiki
 
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>&amp;nbsp;</big></code>"s).
+
A template to produce multiple [[wpen:non-breaking space|non-breaking space]]s ("<code><big>&amp;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, 17:10 Uhr

A template to produce multiple non-breaking spaces ("&nbsp;"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 &nbsp; 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.


Cookies helfen uns bei der Bereitstellung des IMT HilfeWikis. Bei der Nutzung vom IMT HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.