Template:Glossary/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) m Text replacement - "[[HTML" to "[[Wikipedia:HTML" |
Caleb Cooper (talk | contribs) |
||
Line 5:
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'' [[Wikipedia:HTML Element#Lists|HTML element]]. Unfortunately, the "{{tlf|dl}}" mnemonic is not available as a redirect as of this writing.
The pair of templates incidentally prevent Wikipedia's [[Wikipedia: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.
Typical usage:
| |||