Lists

A collection of various list types used in typical content models.

Simple Lists

Simple lists contain brief, phrase-like content, such as in documenting the materials in a kit or package. On output, the list should have no bullets, on the assumption that each item is short enough to fit on one line, and needs no additional differentiation from its neighbors.

You need these items to complete the installation process:

  • Pencil
  • Mounting template
  • Included screws
  • Drill
  • 3/8 inch drill bit
  • Philips screwdriver

Text in a paragraph after the list to show spacing between the list and the following paragraph.

Unordered Lists

An unordered list contains related items for which the order is not important. Unordered lists are typically styled with bullet points.

Commonly-planted trees in the area include these species:

  • Red Oak
  • Black Walnut
  • River Birch
  • White Ash
  • Siberian Elm
  • Silver Maple

Text in a paragraph after the list to show spacing between the list and the following paragraph.

In this version the enclosing <p> have been unwrapped to tighten up the line spacing:
  • Unordered list item.
  • Unordered list item.
    • Sublist
    • Add another
  • Another list item
  • Last list item.

Ordered Lists

Ordered lists contain related items for which it is important to communicate the order, such as rank or priority.

Note: Ordered lists should never be used for procedures. For procedures, use a task topic with steps.

Here are the top five most popular automobile colors sold this year:

  1. Gray
  2. White
  3. Black
  4. Tan
  5. Red

Text in a paragraph after the list to show spacing between the list and the following paragraph.

Nested Lists

Multiple label styles can be defined for nested ordered lists and nested unordered lists. It's generally not recommended to use more than 4 nesting levels in lists, but additional levels can be defined based on specific authoring needs.

Here is a nested unordered list:

  • Top level

    • Nesting level 1

      • Nesting level 2

        • Nesting level 3

Here is a nested ordered list:

  1. Top level

    1. Nesting level 1

      1. Nesting level 2

        1. Nesting level 3

Definition Lists

Definition lists include terms and corresponding definitions. They are often used for descriptions of interfaces or features. They are not usually intended to replace glossaries.

DL Term Heading
Definition List Definition Description Heading
Definition term
The definition list entry includes a definition term and a definition or description. This is an example of the definition description element.
Extra Decimal Places
By default (a value of 0) Experience Cloud shows 1 decimal place for Average scores, and 0 decimal places for Top Box and Percentage scores. If you set ExtraDecimalPlaces to 1, Experience Cloud shows 2 decimal places for Average scores, and 1 decimal place for Top Box and Percentage scores. You can specify a higher number if needed, which can be helpful for debugging and comparing exact scores.

Text in a paragraph after the list to show spacing between the list and the following paragraph.

Parameter Lists

Parameter lists contain a list of terms and definitions that describes the parameters in an application programming interface. This is a special kind of definition list that is designed for documenting programming parameters. This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts and reference information.

Parameter element term A
Description of said parameter element
Parameter element term B
Description of said parameter element
Parameter element term C
Description of said parameter element