Template:Languages

From DPWiki
Jump to navigation Jump to search

Template:Languages

This template is intended to facilitate the manual handling of wiki links between the various translations of the same page.

Usage is as follow: in the page from which you want to link, insert this:

{{Languages|Languages:|=
|en|Transliterating Greek|=
|fr|French/Translittération du grec|=
}}

where "Languages:" is a name meaning "Languages" in the current page, "fr" is a two letter language name, and "French/Translittération du grec" is the wiki link to the page in that language.

This works internally by calling templates Template:Langxx, where xx is the two letter name. These are further resolved into calls to e.g. {{Langitem|French/Translittération du grec|Français}}.

Here are some current and/or intended Langxx templates, given with the name appearing on the link, and the suggested translation to use for the "Languages:" field:

Feel free to add other languages to that list as necessary!

Excess parameters are dealt with using template Template:Langempty which expands to nothing.

See also:

{{{1}}}