Template:foreign name/documentation

This template is used in definitions for foreign names, especially but not necessary names of well-known people. This may be used, for example, to create an Italian entry for English-language names like, or , or an English entry for Polish-language names like. Most commonly this is used when the script of the source-language and destination-language names are the same and no significant phonetic respelling has been applied. (The source and destination names need not be identical; e.g. is often rendered as, without the accent marks.)

Parameters

 * 1
 * Language code of the destination language; see List of languages.


 * 2
 * Language code of the source language.


 * 3, 4, ...
 * Zero or more source names from which the name of the entry in question is derived.


 * type, ...
 * The type of the name. It should be one of the following:,  ,  ,   or.


 * dim
 * If specified, indicate that the name is a diminutive.


 * aug
 * If specified, indicate that the name is an augmentative.


 * t, t2, ...
 * Glosses for the source name(s) specified in 3, 4, ..., respectively. gloss, gloss2, ... are deprecated synonyms.


 * tr, tr2, ...
 * Manual transliterations for the source name(s) specified in 3, 4, ..., respectively. Not needed in most cases for most languages.


 * ts, ts2, ...
 * Transcriptions for the source name(s) specified in 3, 4, ..., respectively. Meant to describe the pronunciation for certain languages (e.g. Tibetan) where the transliteration and pronunciation are radically different.


 * alt, alt2, ...
 * Display form for the source name(s) specified in 3, 4, ..., respectively. See for more information.


 * id, id2, ...
 * Sense ID for the source name(s) specified in 3, 4, ..., respectively. See and  for more information.


 * g, g2, ...
 * Gender(s) for the source name(s) specified in 3, 4, ..., respectively. Multiple comma-separated genders can be specified for each name. See for more information.


 * xlit, xlit2, ...
 * Conventional/non-scientific transliterated equivalent(s) for the name in question. This can be used when the automated transliteration appears unfamiliar; compare e.g. the automated transliteration of the names, , with the conventional , ,.


 * eq, eq2, ...
 * Equivalent English name(s) for the name in question. Note the difference between this parameter and the previous one. For example, has conventional transliteration  but equivalent name.


 * sort
 * Sort key for the categories generated by this template. Rarely needed, except in Japanese.

Examples
On the Italian page :

produces

and categorizes the page into Category:it:English surnames.

On the English page :

produces

and categorizes the page into Category:en:Polish surnames.

Note how in this latter case the source name is specified explicitly since it is not the same as the destination name (which has had the accents removed).

On the Italian page :

produces

and categorizes the page into Category:it:Ancient Greek male given names.

Note here that could also be used, but arguably  is not a very good transliteration of the source Greek name since it lacks the final -s.