Template:Doublet

From The Languages of David J. Peterson
Jump to navigation Jump to search

Doublet


Use this template in an etymology section of doublets (such as fire and pyre).

Parameters

1=
The language code (see Project:Languages) of the language this term appears in. All Wiktionary language codes are supported, including those for constructed and reconstructed languages.
2=, 3=, 4=, 5=
The term(s) that this term is a doublet of. The template will automatically remove diacritics and punctuation from the page title, according to the entry_name setting in Module:languages, but will keep them in the displayed text. To link to a reconstructed term, such as Proto-Germanic Lua error in Module:Languages/errorGetBy at line 14: The language or etymology language code "gem-pro" in the first parameter is not valid (see Wiktionary:List of languages).., add * in front of this parameter.
nocap=1
Show the initial text with a lowercase initial letter.
notext=1
Omit the initial text altogether. The first thing displayed will be the first term listed (i.e. the contents of |2=).
nocat=1
Do not categorize the entry. This should be used when mentioning blends in languages other than the current language.

The following parameters are available for each matching term in the numbered/positional parameters. The N must be replaced by the corresponding term index. For example, for the second part (positional parameter 3), use 2 for N. Most of these parameters correspond directly to the equivalent parameters in the standard {{l}} (and {{m}}) template.

altN=
The alternative display form. Equivalent to the second parameter of {{l}}.
tN=
A gloss/translation to show after the term. Equivalent to the third parameter of {{l}}. The parameter glossN= is deprecated for this purpose.
trN=
The transliteration, as in {{l}}.
posN=
The part of speech label to show after the term, as in {{l}}.
scN=
The script code (see Project:Scripts) for the script that the term is written in. When no code is given, the template will try to detect the script based on the characters in the term and the scripts in the language's data table (see Module:scripts § findBestScript). In most cases, it will succeed. If it fails, the code None will be used.
gN=
Zero or more gender/number codes for the term, comma-separated; see Module:gender and number for details.
litN=
A literal translation for the term.
idN=
A sense id for the term, which links to anchors on the page set by the {{senseid}} template.

Examples

{{doublet|en|fire}} produces

Doublet of fire

{{doublet|es|directo|notext=1}} produces

directo

{{doublet|ja|tr1=Mosukō|モスコー|nocap=1}} produces

doublet of モスコー (Mosukō)

{{doublet|ja|ヴィエンヌ|tr1=Viennu|t1={{wt|Vienne}}|ウィーン|tr2=Wīn}} produces

Doublet of ヴィエンヌ (Viennu, Vienne) and ウィーン (Wīn)

{{doublet|en|advoke|avouch|avow}} produces

Doublet of advoke, avouch, and avow

See also