Vorlage:LanguageLink: Unterschied zwischen den Versionen
Aus Leitwert-Wiki
K |
K (Änderung 271 von Medicussmurf (Diskussion) rückgängig gemacht.) |
||
| Zeile 1: | Zeile 1: | ||
| − | <!-- Note: The template {{LanguageLink}} is used on a lot of pages. | + | <!-- |
| − | + | Note: The template {{LanguageLink}} is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first. | |
| − | + | Editing a Template causes all pages that use the Template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue. | |
| − | + | --><includeonly><span style="white-space:nowrap">{{#ifeq:{{lc:{{{2}}}}}|{{Langcode}} | |
| − | + | | '''·''' <bdi lang="{{{2}}}" style="unicode-bidi:embed;unicode-bidi:-webkit-isolate;unicode-bidi:isolate">'''{{#if:{{{4|}}}|{{{4|}}}|{{Languagename|{{{2}}}}}}}'''</bdi><!-- Suppress link to current language in case it is a redirect and to have a bullet that is not bold --> | |
| − | --> | + | | [[:{{#switch:{{{1}}}<!--A true namespace--> |
| − | <includeonly> | + | |User:|User talk:<!-- also used in user pages --> |
| − | <span style="white-space:nowrap">{{#ifeq:{{lc:{{{2}}}}}|{{Langcode}} | ||
| − | | '''·''' <bdi lang="{{{2}}}" style="unicode-bidi:embed;unicode-bidi:-webkit-isolate;unicode-bidi:isolate">'''{{#if:{{{4|}}}|{{{4|}}}|{{Languagename|{{{2}}}}}}}'''</bdi> | ||
| − | <!-- Suppress link to current language in case it is a redirect and to have a bullet that is not bold --> | ||
| − | | [[:{{#switch:{{{1}}} | ||
| − | |User:|User talk: | ||
|Template:|Template talk: | |Template:|Template talk: | ||
|Category:|Category talk: | |Category:|Category talk: | ||
| Zeile 16: | Zeile 11: | ||
= {{{1}}}{{#switch:{{UC:{{{2}}}}} | = {{{1}}}{{#switch:{{UC:{{{2}}}}} | ||
|DE= | |DE= | ||
| − | |EN|ES|FR|JA|IT|NL|RU={{UC:{{{2}}}}}: | + | |EN|ES|FR|JA|IT|NL|RU={{UC:{{{2}}}}}:<!-- |
| − | + | Namespaces for certain languages have been created with a language prefix in block capitals. Tweak the links until the categories/templates are sorted out. | |
| − | + | Note: this is only for the 7 languages with a history of capitalised dedicated namespaces, don’t add any more.--> | |
|#default={{lc:{{{2}}}}}: | |#default={{lc:{{{2}}}}}: | ||
}}{{{3}}} | }}{{{3}}} | ||
| − | |Talk:={{TALKPAGENAME:{{#ifeq:{{{2}}}|de| | + | |Talk:={{TALKPAGENAME:{{#ifeq:{{{2}}}|de|<!--Omit language prefix-->|{{lc:{{{2}}}}}:}}{{{3}}}}} |
| − | |#default={{{1}}}{{#ifeq:{{{2}}}|de| | + | |#default={{{1}}}{{#ifeq:{{{2}}}|de|<!--Omit language prefix-->|{{lc:{{{2}}}}}:}}{{{3}}} |
}}|'''·''' <bdi lang="{{{2}}}" style="unicode-bidi:embed;unicode-bidi:-webkit-isolate;unicode-bidi:isolate">{{#if:{{{4|}}}|{{{4|}}}|{{Languagename|{{{2}}}}}}}</bdi>]] | }}|'''·''' <bdi lang="{{{2}}}" style="unicode-bidi:embed;unicode-bidi:-webkit-isolate;unicode-bidi:isolate">{{#if:{{{4|}}}|{{{4|}}}|{{Languagename|{{{2}}}}}}}</bdi>]] | ||
| − | }} | + | }}</span></includeonly><noinclude>{{Documentation}}</noinclude> |
| − | </span> | ||
| − | |||
| − | </includeonly> | ||
| − | <noinclude> | ||
| − | |||
| − | </noinclude> | ||