Jump to content
Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

Vorlage:Spaces: Unterschied zwischen den Versionen

Aus DragonballWiki
Inhalt gelöscht Inhalt hinzugefügt
Gokussj7
Gokussj7 (Diskussion | Beiträge) (Die Seite wurde neu angelegt.)
 
 
Zeile 1: Zeile 1:
⚫
<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}}
{{#tag:syntaxhighlight|<onlyinclude><!--
⚫
|{{#switch:{{{1}}}
--><includeonly><templatestyles src="Template:Nowrap/styles.css"/></includeonly><!--
⚫
|fig=&#8199;
⚫
--><span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}}<!--
⚫
|en=&ensp;
⚫
-->|{{#switch:{{{1}}}<!--
⚫
|em=&emsp;
⚫
-->|fig=&#8199;<!--
⚫
|thin=&thinsp;
⚫
-->|en=&ensp;<!--
⚫
|hair=&#8202;
⚫
-->|em=&emsp;<!--
⚫
|&nbsp;
⚫
-->|thin=&thinsp;<!--
}}
⚫
-->|hair=&#8202;<!--
⚫
|{{#invoke:String|rep|{{#switch:{{{2}}}
⚫
-->|&nbsp;<!--
⚫
|fig=&#8199;
-->}}<!--
⚫
|en=&ensp;
⚫
-->|{{#invoke:String|rep<!--
⚫
|em=&emsp;
-->|{{#switch:{{{2}}}<!--
⚫
|thin=&thinsp;
⚫
-->|fig=&#8199;<!--
⚫
|hair=&#8202;
⚫
-->|en=&ensp;<!--
⚫
|&nbsp;
⚫
-->|em=&emsp;<!--
⚫
}}|{{{1|1}}}}}
⚫
-->|thin=&thinsp;<!--
}}</span><noinclude>
⚫
-->|hair=&#8202;<!--
{{/doc}}
⚫
-->|&nbsp;<!--
</noinclude>
-->}}<!--
⚫
-->|{{{1|1}}}<!--
-->}}<!--
-->}}</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

 

Vorlage:Lua

A template to produce one or more non-breaking spaces (&nbsp; 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 (&nbsp;) 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

Vorlage:TemplateData header

Inserts one or more non-breaking spaces

Vorlagenparameter[Vorlagendaten bearbeiten]

ParameterBeschreibungTypStatus
Quantity1

How many non-breaking spaces to insert

Standard
1
Zahlenwertoptional
Type2

Non-default types (in decreasing order of width): em, fig, en, thin, hair

Vorgeschlagene Werte
em fig en nbsp thin hair
Standard
&nbsp;
Mehrzeiliger Textoptional

See also

Vorlage:Sandbox other

Cookies helfen uns bei der Bereitstellung von DragonballWiki. Durch die Nutzung von DragonballWiki erklärst du dich damit einverstanden, dass wir Cookies speichern.