Vorlage:English: Unterschied zwischen den Versionen

Aus Wohnheim TF
Zur Navigation springen Zur Suche springen
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><div class="lang"><ul>
<includeonly>
<li>[[{{NAMESPACE}}:{{{1}}}|DE]]</li>
<div style="
<li class="lang_main">[[{{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

{{English|Basepage Name}}

Demo

Languages: DE EN


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.