Template:Non-gloss definition

From The Languages of David J. Peterson
(Redirected from Template:N-g)
Jump to navigation Jump to search

Use this template to apply the correct styling to a definition that is not a gloss.

Most definitions in the English The Languages of David J. Peterson 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 {{wt|noun}} is automatically converted to [[noun#English|noun]]. If you need to link to non-English entries use {{l}} or {{m}} inside {{non-gloss definition}}.

Parameters

|1=
The non-gloss definition.

Examples

# {{non-gloss definition|Connects a {{wt|noun}} derived from a {{wt|verb}} with the {{wt|object}} of that verb.}}
  1. Connects a noun derived from a verb with the object of that verb.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Non-gloss definition

Use this template to apply the correct styling to a definition that is not a gloss.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
definition1

the non-gloss definition of the term

Example
an emphatic form of
Stringrequired