{{{1}}}

The template {{defn}} is used in structured glossaries to create definitions of definition list terms.

Basic usage:

{{defn|1=Definition.}}

Links, inline templates, reference citations, wikimarkup styles, etc., can be applied to the definition. If the editor is certain that the definition will never contain the character "=" (equals sign), then the "1=" can be omitted:

{{defn|Definition.}}

For longer definitions that others are likely to edit, the "|1=" numbered parameter version is the safer bet.

Apply CSS styles to the definition

সম্পাদনা কৰক

The |style= parameter will pass CSS styling on to the <dd> element.

This shows both a very simple and a rather complex instance:

==A–M==
{{gloss}}
{{term|applesnorkel}}
{{defn|1=Definition of term 1.}}
{{term|''arglefarst''|arglefarst|lang=xx}}
{{defn|1=
1. Beginning of first definition of term 2
<blockquote>Block quotation in first definition of term 2.</blockquote>
Conclusion of first definition of term 2.
}}

{{defn|1=2. Second definition of term 2.}}
{{glossend}}

A–M
applesnorkel
Definition of term 1.
arglefarst
1. Beginning of first definition of term 2

Block quotation in first definition of term 2.

Conclusion of first definition of term 2.
2. Second definition of term 2.
  • {{gloss}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{glossend}} – The other half of this template pair; uses </dl> to close the definition list that {{gloss}} opens.
  • {{term}} – The glossary term to which the {{defn}} definition applies; a customized <dt> with a class and an embedded <dfn>.