Template:Glossary definition
From MozillaWiki
(Redirected from Template:Glossarydefinition)
Shortcuts |
---|
{{glodef}} |
{{glossarydefinition}} |
Usage
{{glodef}} is a front-end for the HTML element <dd>
, which is used to delimit a word or expression entered as a glossary/dictionary definition.
Meant to be used in conjunction with {{glossary term}}. To enter both the term and the definition in one go, with the possibility to add multiple definitions, use the template {{glossary entry}}.
Parameters
There are 2 parameters, of which 1 is unnamed and required, and 1 is named and optional.
Syntax
The template's syntax is
-
{{glodef|glossary definition |rtl=yes }}
Required parameter
1
- Glossary definition
Your definition of the headword.
- Notes
- Definitions should be as concise as possible, but still give a clear description of the headword's meaning and usage in a given context. If a headword appears within multiple word classes, the definition should indicate which of the headword's word classes it covers; for example: the word code can be used as a verb or a noun, so a definition of it should start with the word class that the definition covers, e.g. vb. or n..
- Usage
-
{{glodef|1}}
Optional parameter
rtl
- Forces text direction to flow right-to-left
- Notes
- You may call this parameter by setting it to any value; i.e.
|rtl=yes
will yield the same result as|rtl=whoopsadaisy
.
- Usage
-
{{glodef|1|rtl=yes}}
Examples
Case | What you type | What you see |
---|---|---|
Basic use | definition}} | |
rtl | تعريف|rtl=yes}} | |
With {{glossary term}} | headword}}{{glodef|definition}} |
|
See also
- {{glossary term}}
- {{glossary list start}}
- {{glossary list end}}
- {{glossary entry}}: combines {{glossary term}} and {{glossary definition}} in a single template.
The above documentation is transcluded from Template:Glossary definition/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |