• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Glossary term

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Green flat directory icon.svg
The Wikipedia Glossary has an entry for Glossary term.
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
  • 2 Examples
  • 3 Limitations
    • 3.1 [] - square brackets
  • 4 TemplateData
  • 5 See also

Usage

The default behavior of this template is to display a boxed string "The Wikipedia Glossary has an entry for" with a link to the entry at Wikipedia:Glossary with the same name as the Wikipedia page on which it appears.

This template takes up to two optional parameters which will alter the expression used to link to the Glossary.

  • {{Glossary term |alternative term link |different display text, if desired}}

Examples

1. {{Glossary term |1=Hatnote |2=hat note}}

produces:
File:Green flat directory icon.svg
The Wikipedia Glossary has an entry for hat note.

2. {{Glossary term |1=Three-revert rule |2=three revert rule}}

produces:
File:Green flat directory icon.svg
The Wikipedia Glossary has an entry for three revert rule.

3. {{Glossary term |Watchlist |Watch list}}

produces:
File:Green flat directory icon.svg
The Wikipedia Glossary has an entry for Watch list.

Limitations

[] - square brackets

  • You cannot use square brackets ("[" and "]") in the first parameter.

To resolve this use "[" and "]" instead:

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Glossary term

Creates a small box with links to an entry at Wikipedia:Glossary.

Template parameters

ParameterDescriptionTypeStatus
Entry name1

The name of the expression in the Glossary. The article's page name is used as a default. Square brackets <tt>&#91;</tt> and <tt>&#93;</tt> need to be coded as <tt>&amp;#91;</tt> and <tt>&amp;#93;</tt> instead.

Stringoptional
Displayed name2

Optional displayed link text.

Stringoptional

See also

  • {{glossary}}, {{glossary end}}, {{term}} and {{defn}}, the glossary structure templates
  • {{dfn}} the more general <dfn> template
  • {{glossary link}}, for creating in-line, structured links to particular entries in topical glossaries
The above documentation is transcluded from Template:Glossary term/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Glossary_term&oldid=17624"
Categories:
  • Pages with broken file links
  • Templates using TemplateData
  • Glossary templates
Last edited on 28 October 2020, at 21:43

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 28 October 2020, at 21:43.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop