|
|
(32 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| <includeonly><div class="lang"><ul> | | <includeonly><div style=" |
| <li class="lang_main">[[{{NAMESPACE}}:{{BASEPAGENAME}}|EN]]</li>
| | width: 10em; |
| <li>[[{{NAMESPACE}}:{{BASEPAGENAME}}/ar|AR]]</li>
| | border-width:1px; |
| | | border-style:solid; |
| </ul></div>{{DISPLAYTITLE:{{{1}}}|{{BASEPAGENAME}}}}{{#switch: {{SUBPAGENAME}}
| | border-color:#e2001a; |
| | {{PAGENAME}} = [[Category:EN]]
| | padding:0.4em;" class="lang">Sprachen: [[{{NAMESPACE}}:{{PAGENAME}}|DE]] [[{{NAMESPACE}}:{{PAGENAME}}/en|EN]]</div>[[Category:Deutsch]]</includeonly> |
| | = [[Category:EN]]
| |
| | ar = [[Category:AR]]
| |
| | ast = [[Category:AST]]
| |
| | be = [[Category:BE]]
| |
| | bg = [[Category:BG]]
| |
| | bn = [[Category:BN]]
| |
| | brx = [[Category:BRX]]
| |
| | ca = [[Category:CA]]
| |
| | ca-xv = [[Category:CA-VAL]]
| |
| | cs = [[Category:CS]]
| |
| | dk = [[Category:DA]]
| |
| | de = [[Category:DE]]
| |
| | el = [[Category:EL]]
| |
| | eo = [[Category:EO]]
| |
| | es = [[Category:ES]]
| |
| | fa = [[Category:FA]]
| |
| | fi = [[Category:FI]]
| |
| | fr = [[Category:FR]]
| |
| | gd = [[Category:GD]]
| |
| | gl = [[Category:GL]]
| |
| | he = [[Category:HE]]
| |
| | hi = [[Category:HI]]
| |
| | hu = [[Category:HU]]
| |
| | is = [[Category:IS]]
| |
| | it = [[Category:IT]]
| |
| | ja = [[Category:JA]]
| |
| | ko = [[Category:KO]]
| |
| | lo-la = [[Category:LO-LA]]
| |
| | lt = [[Category:LT]]
| |
| | mr = [[Category:MR]]
| |
| | nl = [[Category:NL]]
| |
| | no = [[Category:NO]]
| |
| | pa = [[Category:PA]]
| |
| | pt = [[Category:PT]]
| |
| | pt-br = [[Category:PT-BR]]
| |
| | ro = [[Category:RO]]
| |
| | ru = [[Category:RU]]
| |
| | sk = [[Category:SK]]
| |
| | sl = [[Category:SL]]
| |
| | sv = [[Category:SV]]
| |
| | te = [[Category:TE]]
| |
| | th = [[Category:TH]]
| |
| | tr = [[Category:TR]]
| |
| | uk = [[Category:UK]]
| |
| | vi = [[Category:VI]]
| |
| | zh-tw = [[Category:ZH-TW]]
| |
| | zh-hans = [[Category:ZH-HANS]]
| |
| | #default =
| |
| }}</includeonly><noinclude>
| |
| | |
| | |
| <noinclude> | | <noinclude> |
| | == Verwendung == |
| | <nowiki>{{Deutsch|}}</nowiki> |
|
| |
|
| == Usage == | | == Beispiel == |
| <nowiki>OrigLang{{OrigLang|}}</nowiki><br>
| | {{Deutsch}} |
| | |
| You may display a title to your page, that is different to the page name by <nowiki>OrigLang{{OrigLang|Title}}</nowiki>. On the translated pages, you have to '''change it to use the second Template [[Template:Lang]]'''.
| |
| | |
| == Documentation ==
| |
| This template should be added to all original english articles in the main namespace, at least to all that are or are supposed to be translated.
| |
| | |
| It shows the list of all languages an article should be translated to and also sets the correct, localised display title of the article.
| |
| | |
| === Adding new Languages ===
| |
| Additional languages can easily be added here. You just need to add one line:
| |
|
| |
|
| * put a new language link into the div container (please make sure they are alphabetically ordered):
| | Die englische Vorlage ist [[Vorlage:English]] |
| :<nowiki><li>[[{{NAMESPACE}}:{{PAGENAME}}/hu|HU]]</li></nowiki>
| |
|
| |
|
| The subpages will automatically be used by different MediaWiki extensions which detect language settings in browsers or user preferences. The user will then automatically be redirected into the appropriate subpage.
| | == Dokumentation == |
| | Dieses Template sollte bei allen Seiten verwendet werden! Es fügt einen Link zur Englischsprachigen Unterseite ein. Die Unterseiten sollten dann mit dem [[Template:English]] Template versehen werden. |
|
| |
|
| === Appearance === | | === Erscheinung === |
| The CSS code for the div container of the class "lang" can be adopted in [[MediaWiki:Common.css]].
| | Wird über ein CSS definiert. |
|
| |
|
| [[Category:Template]] | | [[Category:Vorlage]] |
| </noinclude> | | </noinclude> |
Verwendung
{{Deutsch|}}
Beispiel
Die englische Vorlage ist Vorlage:English
Dokumentation
Dieses Template sollte bei allen Seiten verwendet werden! Es fügt einen Link zur Englischsprachigen Unterseite ein. Die Unterseiten sollten dann mit dem Template:English Template versehen werden.
Erscheinung
Wird über ein CSS definiert.