Ikariam- Wiki
Advertisement


Dokumentation (In der Regel für ein Template. Dieses wird nicht unbedingt oben angezeigt.)
[Bearbeiten]Dokumentation für Vorlage:Alt-Lang
     Vorlage:Alt-Lang in anderen Sprachen: bg: Bulgarian / Bulgaria • el: Greek / Greece • es: ( Spanish / Argentine Republic-Spanish / Chile-Spanish / Mexico-Spanish / Spain-Spanish / Venezuela ) • fi: Finnish / Finland • fr: French / France • hu: Hungarian / Hungary • he: Hebrew / Israel • it: ( Italian / Italy-Italian / Republic of San Marino-Italian / Vatican City ) • nl: Dutch / Netherlands • pl: Polish / Poland • pt: Portuguese / Portugal • pt-br: Portuguese / Brazil • ro: Romanian / Romania • sr: Serbian / Serbia und sv: Swedish / Sweden


Usage

Shows links to Alternate language ikariam wiki's in Wikia's network using this format {{Alt-Lang|code|pagename}} - If you do not put a pagename then it will link to the main page of the wiki.

If there are more than 1 language to be linked then you must have a pagename or a blank space if there is no pagename (this will link to the main page of that wiki) before you put the next language tag.

{{Alt-Lang|ar|pagename|el}} or {{Alt-Lang|ar| }|el}}

The parameter |altlink= can be used when the template is used for a specific section of a page as well

{{Alt-Lang|ar|blank space|eg|altlink=Usage}} or {{Alt-Lang|ar| |el|altlink=Usage}} will produce:

     Usage in anderen Sprachen: ar: ( Arabic / League of Arab States [ Arabic / Algeria-Arabic / Bahrain-Arabic / Egypt-Arabic / Saudi Arabia-Arabic / United Arab Emirates ] ) und el: Greek / Greece

Language and Country codes

This template uses 2 sub-templates {{Alt-Lang/Flag}} and {{Alt-Lang/Cat}}.

{{Alt-Lang/Flag}} checks to make sure the language coded entered is a valid code (assigned to the template) and displays the link that appear before the flags as well as the flags.
{{Alt-Lang/Cat}} adds the actual language codes to the pages as well as the categories to the pages.
This feature can be disabled if you add doc= as a parameter (preferably as the last parameter entered) in {{Alt-Lang}}.


These codes will link to the correct Ikariam wiki in Wikia's system:

ar, bg, el, en, es, fi, fr, he, hu, it, lt, nl, pl, pt, pt-br, ro, ru, sv, sr, vi, zh and zh-hant
     Vorlage:Alt-Lang in anderen Sprachen: ar: ( Arabic / League of Arab States [ Arabic / Algeria-Arabic / Bahrain-Arabic / Egypt-Arabic / Saudi Arabia-Arabic / United Arab Emirates ] ) • bg: Bulgarian / Bulgaria • el: Greek / Greece • en: ( English / United Kingdom / Great Britain-English / USA / United States of America ) • es: ( Spanish / Argentine Republic-Spanish / Chile-Spanish / Mexico-Spanish / Spain-Spanish / Venezuela ) • fi: Finnish / Finland • fr: French / France • he: Hebrew / Israel • hu: Hungarian / Hungary • it: ( Italian / Italy-Italian / Republic of San Marino-Italian / Vatican City ) • lt: Lithuanian / Lithuania • nl: Dutch / Netherlands • pl: Polish / Poland • pt: Portuguese / Portugal • pt-br: Portuguese / Brazil • ro: Romanian / Romania • ru: Russian / Russia • sv: Swedish / Sweden • sr: Serbian / Serbia • vi: Vietnamese / Vietnam • zh: Traditional Chinese / Mainland China und zh-hant: ( Simplified Chinese / Hong Kong-Simplified Chinese / Macau-Simplified Chinese / Taiwan )

If you use a code that has not been put into the template (example: A new language wikia that has been started but not been entered and linked) to (we will use de and kk for this example):

     Vorlage:Alt-Lang in anderen Sprachen: Dies ist das Deutsche Wiki, weshalb der Code de nicht verwendet werden kann! This is the German wiki so you can not use the following language code: de
 und
Es tut uns leid, aber der Code für kk ist zur Zeit nicht in der Vorlage {{Alt-Lang/Flag}} vorhanden!

Valid language codes on this wiki

This template uses the (ISO 169-1, ISO 169-2 and ISO 169-3) Language codes found on Wikipedia