Gaming
 

Template:Alt-Lang

From WikIkariam, the Ikariam wiki - Guides, buildings, ships and more.

[edit]

Documentation


Alternate Language links for Template:Alt-Lang: de: Germany, es: Kingdom of Spain/United Mexican States, fi: Finland, fr: France, hu: Hungary, nl: Nederland, pl: Poland, sr: Serbia and sv: Sweden

[edit] 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|eg}} or {{Alt-Lang|ar| |eg}}

[edit] Languages

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

{{Alt-Lang/Link}} 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 br cn eg de es fi fr he hk hu il lt mo mx nl pl pt ru se sr sv tw vi vn zh and zh-hant
Alternate Language links for Template:Alt-Lang: ar: League of Arab States/Egypt, pt: Federative Republic of Brazil/Portugal / Portuguese Republic, zh: Mainland China / People's Replublic of China, de: Germany, ar: League of Arab States/Egypt, es: Kingdom of Spain/United Mexican States, fi: Finland, fr: France, he: Hebrew / Israel, zh-hant: Hong Kong / Special Administrative Region of the People's Republic of China/Macau / Special Administrative Region of the People's Republic of China/Taiwan / Republic of China, hu: Hungary, he: Hebrew / Israel, lt: Lithuania, zh-hant: Hong Kong / Special Administrative Region of the People's Republic of China/Macau / Special Administrative Region of the People's Republic of China/Taiwan / Republic of China, es: Kingdom of Spain/United Mexican States, nl: Nederland, pl: Poland, pt: Federative Republic of Brazil/Portugal / Portuguese Republic, ru: Russian, sv: Sweden, sr: Serbia, sv: Sweden, zh-hant: Hong Kong / Special Administrative Region of the People's Republic of China/Macau / Special Administrative Region of the People's Republic of China/Taiwan / Republic of China, vi: Socialist Republic of Vietnam, vi: Socialist Republic of Vietnam, zh: Mainland China / People's Replublic of China and zh-hant: Hong Kong / Special Administrative Region of the People's Republic of China/Macau / Special Administrative Region of the People's Republic of China/Taiwan / Republic of China


These codes will give warning messages if you use them and will NOT link to any wiki:

en gb us
Alternate Language links for Template:Alt-Lang:
This is the English language wiki and you can not link to it using the en code!!!
,
This is the English language wiki and you can not link to it using the gb code!!!
 and
This is the English language wiki and you can not link to it using the us code!!!


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 gg and kk for this example}}:

Alternate Language links for Template:Alt-Lang:
There is no language code gg listed in the {{Alt-Lang/Link}} template, at the present time!
 and
There is no language code kk listed in the {{Alt-Lang/Link}} template, at the present time!

Arabic wiki's that link to [[w:c:ar.ikariam:]]
ar = Arabic
eg = Egypt

Chinese wiki's (Traditional Chinese) that link to [[w:c:zh.ikariam:]]
cn = China
zh = Traditional Chinese

Chinese wiki's (Simplified Chinese) that link to [[w:c:zh-hant.ikiariam:]
hk = Hong Kong
mo = Macau
tw = Taiwan
zh-hant = Simplified Chinese

Dutch wiki's that link to [[w:c:nl.ikariam:]]
nl = Nederlands

Finnish wiki's that link to [[w:c:fi.ikariam:]]
fi = Finland

French wiki's that link to [[w:c:fr.ikariam:]]
fr = France

Hebrew wiki's that link to [[w:c:he.ikariam:]]
he = Hebrew
il = Israel

Hungarian wiki's that link to [[w:c:hu.ikariam:]]
hu = Hungary

Lithuanian wiki's that link to [[w:c:lt.ikariam:]]
lt = Lithuania

Polish wiki's that link to [[w:c:pl.ikariam:]]
pl = Poland

Portuguese wiki's that link to [[w:c:pt.ikariam:]]
br = Brazil
pt = Portugual

Russian wiki's 
ru = Russia - links to [[w:c:ru.ikariam:]]
sr = Serbia - links to [[w:c:sr.ikariam:]]

Spanish wiki's that link to [[w:c:es.ikariam:]]
es = Spain
mx = Mexico

Swedish wiki's that link to [[w:c:sv.ikariam:]]
se = Sweden
sv = Sweden - Wikia uses this code for the Sweden.

Vietnamese wiki's that link to [[w:c:vi.ikariam:]]
vi = Vietnam
vn = Vietnam - Gameforge uses this code for Vietnam.