<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AGlossary%2Fdoc</id>
	<title>Template:Glossary/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AGlossary%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Glossary/doc&amp;action=history"/>
	<updated>2026-04-04T18:04:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:Glossary/doc&amp;diff=38181&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Glossary/doc&amp;diff=38181&amp;oldid=prev"/>
		<updated>2020-03-10T17:03:05Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#ifeq:{{BASEPAGENAME}}|Glossary|{{Documentation subpage|[[Template:Glossary]] and [[Template:Glossary end]]}} |}}&lt;br /&gt;
=={{#ifeq:{{BASEPAGENAME}}|Glossary|Usage|[[Template:Glossary]]}}==&lt;br /&gt;
{{#ifeq:{{BASEPAGENAME}}|Glossary|&amp;lt;!--nothing--&amp;gt;|{{collapse top|heading=Usage|left=y}} }}&lt;br /&gt;
The template {{tlx|glossary}} (a.k.a. {{tnull|glossary start}} or {{tnull|glossary begin}}) is used with {{tlx|glossary end}} to explicitly bracket a glossary or glossary-like description list (also called a definition list or association list), especially in a [[wikipedia:Manual of Style/Glossaries|template-structured glossary]], although such lists can be used more generally. This is ''required'' (as a technical matter) for template-structured glossaries, and is good practice anywhere description/definition lists are used for glossaries.  The template pair invoke the {{tag|dl}} ''description list'' HTML element. Unfortunately, the &amp;quot;{{tlf|dl}}&amp;quot; mnemonic is not available as a redirect as of this writing.&lt;br /&gt;
&lt;br /&gt;
The pair of templates incidentally prevent the MediaWiki software engine from auto-creating redundant definition list code ({{tag|dl}}) around terms and definitions if they have blank lines between them, as they often do, especially in non-structured glossaries.&lt;br /&gt;
&lt;br /&gt;
Typical usage:&lt;br /&gt;
&lt;br /&gt;
 {{bxt|1={{tlf|glossary}} }}&lt;br /&gt;
 {{gray|1={{tl|term|1{{=}}&amp;lt;var&amp;gt;term&amp;lt;/var&amp;gt;}} }}&lt;br /&gt;
 {{gray|1={{tl|defn|1{{=}}&amp;lt;var&amp;gt;Definition.&amp;lt;/var&amp;gt;}} }}&lt;br /&gt;
 {{bxt|1={{tlf|glossary end}} }}&lt;br /&gt;
&lt;br /&gt;
{{#ifeq:{{BASEPAGENAME}}|Glossary|&lt;br /&gt;
===Parameters===&lt;br /&gt;
|{{fake heading|Parameters|sub=3}} }}&lt;br /&gt;
&lt;br /&gt;
*{{para|id}} &amp;amp;nbsp; can be used to assign a one-word ID name to the glossary. This can be used as a &amp;lt;code&amp;gt;#{{var|id}}&amp;lt;/code&amp;gt; link target, and could have other metadata uses.&lt;br /&gt;
*{{para|style}} &amp;amp;nbsp; will pass CSS styling on to the {{tag|dl|o}} element. I.e., this styles the definition list itself, as a container, not the individual terms and definitions with it.  ''There is rarely any reason to do this.''&lt;br /&gt;
*{{para|class}} &amp;amp;nbsp; will pass one or more space-separate CSS classes on to {{tag|dl|o}} element, in addition to the automatically included class &amp;lt;code&amp;gt;glossary&amp;lt;/code&amp;gt;.  ''There is rarely any reason to do this.''&lt;br /&gt;
&lt;br /&gt;
{{#ifeq:{{BASEPAGENAME}}|Glossary|&lt;br /&gt;
===Examples===&lt;br /&gt;
|{{fake heading|Examples|sub=3}} }}&lt;br /&gt;
&lt;br /&gt;
This shows both a very simple then a rather complex instance in a structured glossary (including an entry with a block quotation, using the glossary block quotation template, {{tl|gbq}}):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| style=&amp;quot;border: 1px solid black; vertical-align: top;&amp;quot; | &amp;lt;source lang=&amp;quot;moin&amp;quot; highlight=&amp;quot;3,15&amp;quot;&amp;gt;&lt;br /&gt;
==A&amp;amp;ndash;M==&lt;br /&gt;
&lt;br /&gt;
{{glossary}}&lt;br /&gt;
&lt;br /&gt;
{{term|1=applesnorkel}}&lt;br /&gt;
{{defn|1=Definition of term 1.}}&lt;br /&gt;
&lt;br /&gt;
{{term|term=arglefarst |content=''{{lang|xx|arglefarst}}''{{anchor|argle-farst|argle farst}} }}&lt;br /&gt;
{{defn|no=1 |defn=Beginning of first definition of term 2&lt;br /&gt;
{{gbq|1=Block quotation in first definition of term 2.}}&lt;br /&gt;
Conclusion of first definition of term 2.&lt;br /&gt;
}}&lt;br /&gt;
{{defn|no=2 |defn=Second definition of term 2.}}&lt;br /&gt;
&lt;br /&gt;
{{glossary end}}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border: 1px solid black; vertical-align: top;&amp;quot; | &amp;lt;blockquote&amp;gt;&amp;lt;poem&amp;gt;&lt;br /&gt;
{{fake heading|A&amp;amp;ndash;M}}&lt;br /&gt;
&lt;br /&gt;
{{glossary}}&lt;br /&gt;
&lt;br /&gt;
{{term|applesnorkel}}&lt;br /&gt;
{{defn|1=Definition of term 1.}}&lt;br /&gt;
&lt;br /&gt;
{{term|term=|arglefarst|content=''arglefarst''{{anchor|argle-farst|argle farst}} }} &amp;lt;!-- Avoid actually using {{lang}} template in examples, as it generates unwanted transclusions. --&amp;gt;&lt;br /&gt;
{{defn|no=1 |defn=Beginning of first definition of term 2&lt;br /&gt;
&lt;br /&gt;
{{gbq|1=Block quotation in first definition of term 2.}}&lt;br /&gt;
Conclusion of first definition of term 2.&lt;br /&gt;
}}&lt;br /&gt;
{{defn|no=2 |defn=Second definition of term 2.}}&lt;br /&gt;
&lt;br /&gt;
{{glossary end}}&lt;br /&gt;
&amp;lt;/poem&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#ifeq:{{BASEPAGENAME}}|Glossary|&lt;br /&gt;
===Scope===&lt;br /&gt;
|{{fake heading|Scope|sub=3}} }}&lt;br /&gt;
&lt;br /&gt;
This family of templates, like the underlying definition list code, is {{em|primarily}} intended for definitional uses, but can have other applications.  The ''[http://www.w3.org/TR/1999/REC-html401-19991224/struct/lists.html HTML 4.01 Specification]'' itself says:&lt;br /&gt;
{{quote|1=Definition lists...generally consist of a series of term/definition pairs (although definition lists may have other applications). Thus, when advertising a product, one might use a definition list:&lt;br /&gt;
{{glossary}}&lt;br /&gt;
{{term|Lower cost}}&lt;br /&gt;
{{defn|The new version of this product costs significantly less than the previous one!}}&lt;br /&gt;
{{term|Easier to use}}&lt;br /&gt;
{{defn|We've changed the product so that it's much easier to use!}}&lt;br /&gt;
{{term|Safe for kids}}&lt;br /&gt;
{{defn|You can leave your kids alone in a room with this product and they won't get hurt (not a guarantee).}}&lt;br /&gt;
{{glossary end}} }}&lt;br /&gt;
&lt;br /&gt;
Thus, editors should feel free to use definition list markup as an alternative to bulleted or numbered lists when the material is well-suited to definition list presentation.&lt;br /&gt;
&lt;br /&gt;
{{#ifeq:{{BASEPAGENAME}}|Glossary|&lt;br /&gt;
{{Term/doc}}&lt;br /&gt;
{{Defn/doc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|{{collapse bottom}} }}&amp;lt;!--end ifeq--&amp;gt;&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Glossary templates]]&lt;br /&gt;
[[Category:Definition list templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>