Template:Description list
Appearance
Wrapper for description list to customize its display.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Classes | 1 | Formatting CSS classes to use
| String | required |
Classes
[edit]In the following list,
- DT stands for “description term” i.e. the text between
;and:in the wikitext. - DD stands for “description details”, i.e. the text after the colon in the wikitext.
- inline
- Floats DT to left for LTR language and right for RTL language.
- nobold
- Disables bold weight style for DT.
- noindent
- Disables indentation (left margin in LTR languages) for DD.
- colon
- Adds a language-dependant string after DT: ":" for English, " :" for French.
- align-end
- Aligns DT text to right for RTL languages and to left for LTR languages (you need to set DT width with a
width-*class). - width-*
- Minimum width for DT,
*being in ex in following list: 5,7,10,15,20,25,30,35,40,45,50. - bullet-terms
- Displays a bullet point before each DT.
- dd-bottom-*
- Margin below each DD;
*being in em in following list: 1,2,3. - numbered
- Prefixes DT with a decimal counter, as for ordered list (starting with
#). - no-list-margin
- Set to 0 the margin before bullet/numbered lists inside DD.