Template:name respelling/documentation

This template is used in definitions for respellings of names in the same script as the source name. An example is, a respelling of in Latvian. The content is generated by Module:names.

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 Latvian page :

and categorizes the page into Category:lv:German male given names.

On the Hawaiian page :

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

On the Latvian page :

and categorizes the page into Category:lv:English female given names and Category:lv:English diminutives of female given names.