Usage

edit

{{Compact dl}} styles a description list so that terms and matching descriptions are shown on the same line. This saves vertical space and can improve readability when the descriptions are extremely brief, while maintaining the semantic HTML structure.

Currently, this template only supports a single parameter, |wrap=. Its value must be the complete wikitext for the description list, which may be created using wikitext syntax, HTML tags, or the {{glossary}} family of templates. Do not wrap the description list in any other element before wrapping it in this template, as the <dl> element must be a direct child of this template's wrapper element.

Here is an example:

{{compact dl|wrap=
; Article title: [[Fibonacci sequence]]
; OEIS sequence number: {{OEIS link|A000045}}
; First 10 terms
: 0
: 1
: 1
: 2
: 3
: 5
: 8
: 13
: 21
: 34
}}

This becomes:

Article title
Fibonacci sequence
OEIS sequence number
A000045
First 10 terms
0
1
1
2
3
5
8
13
21
34

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Compact dl in articles based on its TemplateData.

TemplateData for Compact dl

This template styles a description list so that terms and matching descriptions are shown on the same line.
Wrapped listwrap
The complete wikitext for the description list – do not wrap in any other element
Example
; Term : Description