Vorlage:LangSwitch: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
[[Category:Templates using TemplateData{{#translation:}}]]
StadtbahnBI>Jarekt (Switch to Module:LangSwitch; allow multiple languages to map to a single value) |
Tt (Diskussion | Beiträge) K (1 Version importiert) |
||
Zeile 1: | Zeile 1: | ||
{{{ | |||
{{#switch: {{{ {{Uselang|lang={{{lang|}}}}} |}}} | |||
{{ | | ~ = empty | ||
| = {{#switch: {{{ {{GetFallback| {{Uselang|lang={{{lang|}}}}} |default=default}} |}}} | |||
| ~ = empty | |||
| = {{#switch: {{{ {{GetFallback2| {{Uselang|lang={{{lang|}}}}} |default=default}} |}}} | |||
| ~ = empty | |||
| = {{#if: {{{default|}}} | default | en }} | |||
| #default = {{GetFallback2| {{Uselang|lang={{{lang|}}}}} |default=default}} | |||
}} | |||
| #default = {{GetFallback| {{Uselang|lang={{{lang|}}}}} |default=default}} | |||
}} | |||
| #default = {{Uselang|lang={{{lang|}}}}} | |||
}} | |||
|}}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Version vom 8. Oktober 2021, 23:33 Uhr
Vorlagendokumentation
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
LangSwitch
Keine Beschreibung.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Language Code | lang | The ISO 639 language code. | Zeichenfolge | erforderlich |
Default Fallback | default | The default fallback result, used when the page language is not provided. | Inhalt | vorgeschlagen |
English | en | Used when the language is English or if `default` and the page language is not provided. | Inhalt | vorgeschlagen |