সাঁচ:Defn
Usage
[সম্পাদনা কৰক]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.
Example
[সম্পাদনা কৰক]This shows both a very simple and a rather complex instance:
|
|
See also
[সম্পাদনা কৰক]- {{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>.
| The above documentation is transcluded from সাঁচ:Defn/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |