Zum Inhalt springen

Vorlage:English: Unterschied zwischen den Versionen

Aus Wohnheim Campus Flugplatz
imported>Daniel
Die Seite wurde neu angelegt: „<includeonly><div class="lang"><ul> <li class="lang_main">[[{{NAMESPACE}}:{{PAGENAME}}|DE]]</li> <li>[[{{NAMESPACE}}:{{PAGENAME}}/en|EN]]</li> </ul></div> {{DI…“
 
imported>Daniel
Keine Bearbeitungszusammenfassung
 
(13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><div class="lang"><ul>
<includeonly>
<li class="lang_main">[[{{NAMESPACE}}:{{PAGENAME}}|DE]]</li>
<div style="
<li>[[{{NAMESPACE}}:{{PAGENAME}}/en|EN]]</li>
width: 10em;
</ul></div>
border-width:1px;
{{DISPLAYTITLE:{{{1}}}|{{PAGENAME}}}}
border-style:solid;
[[Category:DE]]
border-color:#e2001a;
</includeonly>
padding:0.4em;" class="lang">Languages: [[{{NAMESPACE}}:{{{1}}}|DE]] [[{{NAMESPACE}}:{{PAGENAME}}|EN]]</div>{{DISPLAYTITLE:{{{1}}}|{{PAGENAME}}}}[[Category:English]]</includeonly>
<noinclude>
== Usage ==
<nowiki>{{English|Basepage Name}}</nowiki>
 
== Demo ==
{{English|Deutsch}}
 
== Documentation ==
This template should be added to all '''translated articles''' in the main namespace. For the source (German) pages, use the     
'''second Template [[Template:Deutsch]]'''.
 
It shows the list of all languages an article should be translated to and also sets the correct, localised display title of the article.
 
=== Appearance ===
The CSS code for the div container of the class "lang" can be adopted in [[MediaWiki:Common.css]].
 
[[Category:Vorlage]]
</noinclude>

Aktuelle Version vom 2. Dezember 2012, 19:31 Uhr


Usage

[Bearbeiten]

{{English|Basepage Name}}

Languages: DE EN


Documentation

[Bearbeiten]

This template should be added to all translated articles in the main namespace. For the source (German) pages, use the second Template Template:Deutsch.

It shows the list of all languages an article should be translated to and also sets the correct, localised display title of the article.

Appearance

[Bearbeiten]

The CSS code for the div container of the class "lang" can be adopted in MediaWiki:Common.css.