Template:non-gloss
- The following documentation is located at Template:non-gloss/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Use this template to apply the correct styling to a definition that is not a gloss.
Most definitions in the English Wiktionary are worded as glosses. That is, the words in the definition function as the same part of speech and semantics as the defined headword. For example, the first definition of word is a noun phrase (“A distinct unit of language...”) and the first definition of the verb talk is a verb phrase (“To communicate to someone else...”).
Some terms are difficult or impossible to define with a gloss. For example, one of the definitions of of is given as “Connects a noun derived from a verb with the object of that verb.” That definition is not a gloss, because the words in the definition cannot be used as a substitute for “of”.
Most dictionaries use a different style for these rare definitions that are not glosses, e.g. by placing the non-gloss definition in parentheses or by italicizing it. This template applies similar formatting to such definitions and allows readers to control the format for such definitions; the CSS class .use-with-mention
is used.
This template currently uses Module:links/templates to generate some of its content; specifically, it calls the embedded_language_links
function from Module:links, passing the English language in an argument, to point all plain links to the English section of the page to which they point. Thus, below, the link [[noun]]
is automatically converted to [[noun#English|noun]]
. If you need to link to non-English entries use {{l}}
or {{m}}
inside {{non-gloss}}
.
Parameters
|1=
- The non-gloss definition.
Examples
# {{non-gloss|Connects a [[noun]] derived from a [[verb]] with the [[object]] of that verb.}}
TemplateData
TemplateData for non-gloss
Use this template to apply the correct styling to a definition that is not a gloss.
Parameter | Description | Type | Status | |
---|---|---|---|---|
definition | 1 | the non-gloss definition of the term
| String | required |