Template:Alt-Lang
From WikIkariam, the Ikariam wiki - Guides, buildings, ships and more.
[edit]
Documentation
- Alternate Language links for Template:Alt-Lang: de:
, es:
/
, fi:
, fr:
, hu:
, nl:
, pl:
, sr:
and sv:
[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}}.
- This feature can be disabled if you add
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:
/
, pt:
/
, zh:
, de:
, ar:
/
, es:
/
, fi:
, fr:
, he:
, zh-hant:
/
/
, hu:
, he:
, lt:
, zh-hant:
/
/
, es:
/
, nl:
, pl:
, pt:
/
, ru:
, sv:
, sr:
, sv:
, zh-hant:
/
/
, vi:
, vi:
, zh:
and zh-hant:
/
/
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. |
