Template:Glossary term

From MozillaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
{{{1}}}
Documentation icon Template documentation[view] [edit] [history] [purge]
Shortcuts
{{gloterm}}
{{glossaryterm}}

Usage

{{gloterm}} is a front-end for the HTML element <dt>, which is used to delimit a word or expression entered as a glossary/dictionary headword.

Meant to be used in conjunction with {{glossary definition}}. 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

  • {{gloterm|glossary term |rtl=yes }}

Required parameter

1

Glossary term

Your headword entry.

Notes
  • Headwords should always be entered in lower-case, with the exception of proper nouns, words that use capital letters within them, and abbreviations/acronyms in or with capital letters.
Usage
  • {{gloterm|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
  • {{gloterm|1|rtl=yes}}

Examples

Case What you type What you see
Basic use {{gloterm|headword}}
headword
With |rtl {{gloterm|كلمة في القاموس|rtl=yes}}
كلمة في القاموس
With {{glossary definition}} {{gloterm|headword}}
{{glodef|definition}}
headword
definition

See also

  • {{glossary entry}}: combines {{glossary term}} and {{glossary definition}} in a single template.