Vorlage:LanguageLink: Unterschied zwischen den Versionen
Aus Leitwert-Wiki
K |
K (Änderung 267 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 --> | |
| − | --> | ||
| − | <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--> | | [[:{{#switch:{{{1}}}<!--A true namespace--> | ||
| − | |User:|User talk: | + | |User:|User talk:<!-- also used in user pages --> |
|Template:|Template talk: | |Template:|Template talk: | ||
|Category:|Category talk: | |Category:|Category talk: | ||
| − | | | + | |OpenStreetMap:|OpenStreetMap talk: |
= {{{1}}}{{#switch:{{UC:{{{2}}}}} | = {{{1}}}{{#switch:{{UC:{{{2}}}}} | ||
| − | | | + | |EN= |
| − | | | + | |DE|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}}}| | + | |Talk:={{TALKPAGENAME:{{#ifeq:{{{2}}}|en|<!--Omit language prefix-->|{{lc:{{{2}}}}}:}}{{{3}}}}} |
| − | |#default={{{1}}}{{#ifeq:{{{2}}}| | + | |#default={{{1}}}{{#ifeq:{{{2}}}|en|<!--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> | + | }}</span></includeonly><noinclude>{{Documentation}}</noinclude> |
| − | </includeonly> | ||
| − | |||
| − | <noinclude> | ||
| − | |||
| − | </noinclude> | ||