Vorlage:Other languages: Unterschied zwischen den Versionen

Aus Bowlinglexikon
Zur Navigation springen Zur Suche springen
K 1 Version: Import Ambox
 
Die Seite wurde geleert.
 
Zeile 1: Zeile 1:
<noinclude>
{{Other_languages
|en=Template:Other_languages
|fr=Template:Autres_langues
|language_page=en
}}
:''For files use [[:Template:Other languages files]]''
:''For categories use [[:Template:Other languages categories]]''</noinclude>


<includeonly><div style="float: {{{float|right}}}; border: 1px solid #c7c8fe; background-color: #EEE; padding:0px;"><!-- ============Flags=======================
-->{{#if:{{{en|}}}|<div style="display:inline-block;  height: 3em; width: 26px; text-align:center;">[[Image:Flag_En.png|link={{{en}}} | alt=en | 22x16px | frameless]]<br/>[[{{{en}}}|EN]]</div>}}<!--
-->{{#if:{{{ca|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Ca.png|link={{{ca}}}/Ca | alt=ca | 22x16px | frameless]]<br/>[[{{{ca}}}/Ca|CA]]</div>}}<!--
-->{{#if:{{{cs|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Cs.png|link={{{cs}}}/Cs | alt=cs | 22x16px | frameless]]<br/>[[{{{cs}}}/Cs|CS]]</div>}}<!--
-->{{#if:{{{de|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_De.png|link={{{de}}}/De | alt=de | 22x16px | frameless]]<br/>[[{{{de}}}/De|DE]]</div>}}<!--
-->{{#if:{{{el|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_El.png|link={{{el}}}/El | alt=el | 22x16px | frameless]]<br/>[[{{{el}}}/El|EL]]</div>}}<!--
-->{{#if:{{{es|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Es.png|link={{{es}}}/Es | alt=es | 22x16px | frameless]]<br/>[[{{{es}}}/Es|ES]]</div>}}<!--
-->{{#if:{{{fi|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Fi.png|link={{{fi}}}/Fi | alt=fi | 22x16px | frameless]]<br/>[[{{{fi}}}/Fi|FI]]</div>}}<!--
-->{{#if:{{{fr|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Fr.png|link={{{fr}}}/Fr | alt=fr | 22x16px | frameless]]<br/>[[{{{fr}}}/Fr|FR]]</div>}}<!--
-->{{#if:{{{hr|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Hr.png|link={{{hr}}}/Hr | alt=hr | 22x16px | frameless]]<br/>[[{{{hr}}}/Hr|HR]]</div>}}<!--
-->{{#if:{{{hu|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Hu.png|link={{{hu}}}/Hu | alt=hu | 22x16px | frameless]]<br/>[[{{{hu}}}/Hu|HU]]</div>}}<!--
-->{{#if:{{{it|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_It.png|link={{{it}}}/It | alt=it | 22x16px | frameless]]<br/>[[{{{it}}}/It|IT]]</div>}}<!--
-->{{#if:{{{lb|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Lb.png|link={{{lb}}}/Lb | alt=lb | 22x16px | frameless]]<br/>[[{{{lb}}}/Lb|LB]]</div>}}<!--
-->{{#if:{{{nl|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Nl.png|link={{{nl}}}/Nl | alt=nl | 22x16px | frameless]]<br/>[[{{{nl}}}/Nl|NL]]</div>}}<!--
-->{{#if:{{{no|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_No.png|link={{{no}}}/No | alt=no | 22x16px | frameless]]<br/>[[{{{no}}}/No|NO]]</div>}}<!--
-->{{#if:{{{pl|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Pl.png|link={{{pl}}}/Pl | alt=pl | 22x16px | frameless]]<br/>[[{{{pl}}}/Pl|PL]]</div>}}<!--
-->{{#if:{{{pt|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Pt.png|link={{{pt}}}/Pt | alt=pt | 22x16px | frameless]]<br/>[[{{{pt}}}/Pt|PT]]</div>}}<!--
-->{{#if:{{{ro|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Ro.png|link={{{ro}}}/Ro | alt=ro | 22x16px | frameless]]<br/>[[{{{ro}}}/Ro|RO]]</div>}}<!--
-->{{#if:{{{ru|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Ru.png|link={{{ru}}}/Ru | alt=ru | 22x16px | frameless]]<br/>[[{{{ru}}}/Ru|RU]]</div>}}<!--
-->{{#if:{{{sk|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Sk.png|link={{{sk}}}/Sk | alt=sk | 22x16px | frameless]]<br/>[[{{{sk}}}/Sk|SK]]</div>}}<!--
-->{{#if:{{{sl|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Sl.png|link={{{sl}}}/Sl | alt=sl | 22x16px | frameless]]<br/>[[{{{sl}}}/Sl|SL]]</div>}}<!--
-->{{#if:{{{sr|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Sr.png|link={{{sr}}}/Sr | alt=sr | 22x16px | frameless]]<br/>[[{{{sr}}}/Sr|SR]]</div>}}<!--
-->{{#if:{{{tr|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Tr.png|link={{{tr}}}/Tr | alt=tr | 22x16px | frameless]]<br/>[[{{{tr}}}/Tr|TR]]</div>}}<!--
-->{{#if:{{{uk|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Uk.png|link={{{uk}}}/Uk | alt=uk | 22x16px | frameless]]<br/>[[{{{uk}}}/Uk|UK]]</div>}}<!--
-->{{#if:{{{vi|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Vi.png|link={{{vi}}}/Vi | alt=vi | 22x16px | frameless]]<br/>[[{{{vi}}}/Vi|VI]]</div>}}<!--
-->{{#if:{{{zh|}}}|<div style="display:inline-block; height: 3em; width: 26px; text-align:center;">[[Image:Flag_Zh.png|link={{{zh}}}/Zh | alt=zh | 22x16px | frameless]]<br/>[[{{{zh}}}/Zh|ZH]]</div>}}<!--
--><div style="display:inline-block; height: 3em; width: 26px; text-align:center;"><!-- === Main page ===========
-->{{#switch: {{lc:{{{language_page|}}}}}
| en = [[Image:Openttd.ico.png|link=Main Page| 22x21px | frameless]]<br/>[[Main Page|mp]]
| ca = [[Image:Openttd.ico.png|link=Pàgina principal/Ca| 22x21px | frameless]]<br/>[[Pàgina principal/Ca|pr]]
| cs = [[Image:Openttd.ico.png|link=Hlavní_strana/Cs| 22x21px | frameless]]<br/>[[Hlavní_strana/Cs|hs]]
| de = [[Image:Openttd.ico.png|link=Startseite/De| 22x21px | frameless]]<br/>[[Startseite/De|st]]
| el = [[Image:Openttd.ico.png|link=Κύρια πύλη/El| 22x21px | frameless]]<br/>[[Κύρια πύλη/El|Κπ]]
| es = [[Image:Openttd.ico.png|link=Página principal/Es| 22x21px | frameless]]<br/>[[Página principal/Es|pr]]
| fi = [[Image:Openttd.ico.png|link=Etusivu/Fi| 22x21px | frameless]]<br/>[[Etusivu/Fi|et]]
| fr = [[Image:Openttd.ico.png|link=Accueil/Fr| 22x21px | frameless]]<br/>[[Accueil/Fr|ac]]
| hr = [[Image:Openttd.ico.png|link=Glavna stranica/Hr| 22x21px | frameless]]<br/>[[Glavna stranica/Hr|gl]]
| hu = [[Image:Openttd.ico.png|link=Kezdőlap/Hu| 22x21px | frameless]]<br/>[[Kezdőlap/Hu|k]]
| it = [[Image:Openttd.ico.png|link=Pagina principale/It| 22x21px | frameless]]<br/>[[Pagina principale/It|pr]]
| lb = [[Image:Openttd.ico.png|link=Haaptsäit/Lb| 22x21px | frameless ]]<br/>[[Haaptsäit/Lb|h]]
| nl = [[Image:Openttd.ico.png|link=Hoofdpagina/Nl| 22x21px | frameless]]<br/>[[Hoofdpagina/Nl|h]]
| no = [[Image:Openttd.ico.png|link=Forside/No| 22x21px | frameless]]<br/>[[Forside/No|f]]
| pl = [[Image:Openttd.ico.png|link=Strona główna/Pl| 22x21px | frameless]]<br/>[[Strona główna/Pl|gł]]
| pt = [[Image:Openttd.ico.png|link=Página principal/Pt| 22x21px | frameless]]<br/>[[Página principal/Pt|pr]]
| ro = [[Image:Openttd.ico.png|link=Pagina principală/Ro| 22x21px | frameless]]<br/>[[Pagina principală/Ro|pr]]
| ru = [[Image:Openttd.ico.png|link=Главная страница/Ru| 22x21px | frameless]]<br/>[[Главная страница/Ru|Гл]]
| sk = [[Image:Openttd.ico.png|link=Hlavná stránka/Sk| 22x21px | frameless]]<br/>[[Hlavná stránka/Sk|hl]]
| sl = [[Image:Openttd.ico.png|link=Glavna stran/Sl| 22x21px | frameless]]<br/>[[Glavna stran/Sl|gl]]
| sr = [[Image:Openttd.ico.png|link=Glavna strana/Sr| 22x21px | frameless]]<br/>[[Glavna strana/Sr|gl]]
| tr = [[Image:Openttd.ico.png|link=Ana sayfa/Tr| 22x21px | frameless]]<br/>[[Ana sayfa/Tr|a]]
| uk = [[Image:Openttd.ico.png|link=Головна сторінка/Uk| 22x21px | frameless]]<br/>[[Головна сторінка/Uk|Го]]
| vi = [[Image:Openttd.ico.png|link=Trang Chính/Vi| 22x21px | frameless]]<br/>[[Trang Chính/tc|Trang Chính/tc]]
| zh = [[Image:Openttd.ico.png|link=首页/Zh| 22x21px | frameless]]<br/>[[首页/Zh|首]]
|
}}</div></div><!--  ==============Files===============
-->{{#switch: {{lc:{{{language_page|}}}}}
| ca = [[Category:Articles en català/Ca]]
| cs = [[Category:Články v českých/Cs]]
| de = [[Category:Artikel in deutscher Sprache/De]]
| el = [[Category:Τα άρθρα στην ελληνική γλώσσα/El]]
| es = [[Category:Artículos en español/Es]]
| fi = [[Category:Artikkelit suomeksi/Fi]]
| fr = [[Category:Articles en français/Fr]]
| hr = [[Category:Članci na hrvatskom/Hr]]
| hu = [[Category:Cikkek magyar/Hu]]
| it = [[Category:Articoli in italiano/It]]
| lb = [[Category:Artikelen op Lëtzebuergesch/Lb]]
| nl = [[Category:Artikelen in het Nederlands/Nl]]
| no = [[Category:Artikler i norske/No]]
| pl = [[Category:Artykuły w języku polskim/Pl]]
| pt = [[Category:Artigos em Português/Pt]]
| ro = [[Category:Articole în limba română/Ro]]
| ru = [[Category:Статьи на русском языке/Ru]]
| sk = [[Category:Články na slovenské/Sk]]
| sl = [[Category:Članki v slovenščini/Sl]]
| sr = [[Category:Članci na srpskom/Sr]]
| tr = [[Category:Türk Makaleler/Tr]]
| uk = [[Category:Статті на українській мові/Uk]]
| vi = [[Category:Các bài viết bằng tiếng Việt/Vi]]
| zh = [[Category:中文論文/Zh]]
|
}}<!--
--></includeonly><noinclude>
===Usage===
The ''flags'' are links to translations of an original article in English to other languages.
Simple usage:
<pre>{{Other_languages
|en=
|ca=
|cs=
|de=
|el=
|es=
|fi=
|fr=
|hr=
|hu=
|it=
|lb=
|nl=
|no=
|pl=
|pt=
|ro=
|ru=
|sk=
|sl=
|sr=
|tr=
|uk=
|vi=
|zh=
|language_page=
|float=
}}</pre>
''language_page'' parameter indicates the language of the page.
===Examples===
'''Example 1:'''
<pre>{{Other_languages
|en=Tutorial
|ca=Tutorial
|de=Tutorial
|es=Tutorial
|fr=Tutoriel
|pt=Tutorial
|ru=Учебник
|zh=教程
}}</pre>
{{Other_languages
|en=Tutorial
|ca=Tutorial
|de=Tutorial
|es=Tutorial
|fr=Tutoriel
|pt=Tutorial
|ru=Учебник
|zh=教程
}}
{{-}}
'''Example 2:'''
<pre>{{Other_languages
|en=Main Page
|cs=Hlavní strana
|fi=Etusivu
|it=Pagina principale
|pt=Página principal
|ru=Главная страница
|sk=Hlavná stránka
|zh=首页
|float=left
}}</pre>
{{Other_languages
|en=Main Page
|cs=Hlavní strana
|fi=Etusivu
|it=Pagina principale
|pt=Página principal
|ru=Главная страница
|sk=Hlavná stránka
|zh=首页
|float=left
}}
{{-}}
===All languages & flags===
*[[Image:Flag_En.png]] en = English
*[[Image:Flag_Ca.png]] ca = Catalan (català)
*[[Image:Flag_Cs.png]] cs = Czech (Česky)
*[[Image:Flag_De.png]] de = German (Deutsch)
*[[Image:Flag_El.png]] el = Greek (Ελληνικά)
*[[Image:Flag_Es.png]] es = Spanish (Español)
*[[Image:Flag_Fi.png]] fi = Finnish (Suomi)
*[[Image:Flag_Fr.png]] fr = French (Français)
*[[Image:Flag_Hr.png]] hr = Croatian (Hrvatski)
*[[Image:Flag_Hu.png]] hu = Hungarian (Magyar)
*[[Image:Flag_It.png]] it = Italian (Italiano)
*[[Image:Flag_Lb.png]] lb = Luxembourgish (Lëtzebuergesch)
*[[Image:Flag_Nl.png]] nl = Dutch (Nederlands)
*[[Image:Flag_No.png]] no = Norwegian (Norsk)
*[[Image:Flag_Pl.png]] pl = Polish (Polski)
*[[Image:Flag_Pt.png]] pt = Portuguese (Português)
*[[Image:Flag_Ro.png]] ro = Romanian (Română)
*[[Image:Flag_Ru.png]] ru = Russian (Русский)
*[[Image:Flag_Sk.png]] sk = Slovak (Slovenčina)
*[[Image:Flag_Sl.png]] sl = Slovenian (Slovenščina)
*[[Image:Flag_Sr.png]] sr = Serbian (Srpski)
*[[Image:Flag_Tr.png]] tr = Turkish (Türkçe)
*[[Image:Flag_Uk.png]] uk = Ukrainian (Українська)
*[[Image:Flag_Vi.png]] vi = Vietnamese (Tiếng Việt)
*[[Image:Flag_Zh.png]] zh = Chinese (中文)
The parameter "language_page" indicates the language of the page:
{|border="2" width="auto" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA;"
!width='46' style="background:#efefef;"|<code>language_page=</code>
!style="background:#efefef;"|The article will be added to...
|-
|<code>ca</code>|| [[:Category:Articles en català/Ca]]
|-
|<code>cs</code>|| [[:Category:Články v českých/Cs]]
|-
|<code>de</code>|| [[:Category:Artikel in deutscher Sprache/De]]
|-
|<code>el</code>|| [[:Category:Τα άρθρα στην ελληνική γλώσσα/El]]
|-
|<code>es</code>|| [[:Category:Artículos en español/Es]]
|-
|<code>fi</code>|| [[:Category:Artikkelit suomeksi/Fi]]
|-
|<code>fr</code>|| [[:Category:Articles en français/Fr]]
|-
|<code>hr</code>|| [[:Category:Članci na hrvatskom/Hr]]
|-
|<code>hu</code>|| [[:Category:Cikkek magyar/Hu]]
|-
|<code>it</code>|| [[:Category:Articoli in italiano/It]]
|-
|<code>lb</code>|| [[:Category:Artikelen op Lëtzebuergesch/Lb]]
|-
|<code>nl</code>|| [[:Category:Artikelen in het Nederlands/Nl]]
|-
|<code>no</code>|| [[:Category:Artikler i norske/No]]
|-
|<code>pl</code>|| [[:Category:Artykuły w języku polskim/Pl]]
|-
|<code>pt</code>|| [[:Category:Artigos em Português/Pt]]
|-
|<code>ro</code>|| [[:Category:Articole în limba română/Ro]]
|-
|<code>ru</code>|| [[:Category:Статьи на русском языке/Ru]]
|-
|<code>sk</code>|| [[:Category:Články na slovenské/Sk]]
|-
|<code>sl</code>|| [[:Category:Članki v slovenščini/Sl]]
|-
|<code>sr</code>|| [[:Category:Članci na srpskom/Sr]]
|-
|<code>tr</code>|| [[:Category:Türk Makaleler/Tr]]
|-
|<code>uk</code>|| [[:Category:Статті на українській мові/Uk]]
|-
|<code>vi</code>||
|-
|<code>zh</code>||
|}
[[Category:Translation]][[Category:Templates]][[Category:Navigation]]
See: [[:Category:Articles in other languages]]
</noinclude>

Aktuelle Version vom 13. Januar 2013, 11:27 Uhr