Template:piecewise doublet

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Piecewise doublet


Use this template in an etymology section of piecewise doublets. For example, analyzed piece-by-piece, buttery (butter +‎ -y) and butyric ((ultimately) -ic suffixed to Latin būtȳrum) are piecewise doublets of each other because butter is from Latin būtȳrum and -y is a doublet of -ic.

Parameters

[edit]
1=
The language code (see Wiktionary: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 piecewise 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 *dagaz, 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 in the blend.
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 Wiktionary: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:languages § Language:findBestScript). In most cases, it will succeed. If it fails, the code None will be used.
altN=
The alternative display form. Equivalent to the second parameter of {{l}}.
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

[edit]

{{piecewise doublet|en|fire}} produces

Piecewise doublet of fire

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

directo

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

piecewise doublet of モスコー (Mosukō)

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

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

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

Piecewise doublet of advoke, avouch, and avow

See also

[edit]

Trivia

[edit]

The name “piecewise doublet” was suggested by User:Erutuon.