Template:Deverbal/documentation

From The Languages of David J. Peterson
Revision as of 02:17, 25 August 2024 by Juelos (talk | contribs) (Changed links to point to Wiktionary)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation for Template:Deverbal. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Use this template in an etymology section of deverbals.

Parameters

|1=
The language code (see Project:Languages) for the language that the term is in. All The Languages of David J. Peterson language codes are supported, including those for constructed and reconstructed languages.
|2=
(optional) The term that this term was derived from. 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.
|alt= or |3=
(optional) Alternate text to display in place of the term specified in |2=. The displayed term will still link to the page specified in |2=. This can be used, for example, to add parens around a portion of the term. Please do not use this only for adding diacritics or punctuation to the term, as the template can automatically remove these. See above.
|t= or |4=
(optional) A gloss or short translation of the term. The parameter |gloss= is deprecated for this purpose.
|sc=
(optional) 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.
|tr=
(optional) Transliteration for non-Latin-script terms. When no transliteration is given, the template will try to add a default transliteration when possible. For certain languages, automated transliteration will override the value of this parameter. Use tr=- if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).
|ts=
(optional) Transcription for non-Latin-script terms whose transliteration is markedly different from the actual pronunciation. Should not be used for IPA pronunciations.
|pos=
(optional) A part of speech indication for the term.
|g=, |g2=, |g3= and so on
(optional) Gender and number; see Module:gender and number for details.
|lit=
(optional) A literal translation for the term.
|id=
(optional) A sense id for the term, which links to anchors on the page set by the {{senseid}} template.
|accel=
(optional) Provides acceleration tags to be used by the WT:ACCEL gadget, to automatically generate an entry when the link is clicked. See {{link}} for more information.
|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 link to the term from which this term is derived.
|nocat=1
Don't add the term to any category. Normally the term will be added to a category of the form [[Category:LANGUAGE deverbals]], based on the language specified using |1=.
|sort=
(optional) The sort key to use for categories.

Examples

{{deverbal|fr|accorder}} produces

Deverbal from accorder

{{deverbal|it|sguardare||to {{wt|look at}}|nocap=1}} produces

deverbal from sguardare (to look at)

{{deverbal|ru|вопроси́ть||to {{wt|inquire}} of, to {{wt|question}}|notext=1}} produces

вопроси́ть (voprosítʹ, to inquire of, to question)

See also