Lists

Lists[edit | edit source]

Lists are a common structure to organize a bunch of items. WikiToLearn provides a long list of lists that can be used.

Hierarchical Lists[edit | edit source]

Hierarchical lists provide the ability to nest items under other items. Using hierarchy is not necessary, but often useful.

Bullet Lists[edit | edit source]

Example:

  • Item 1
  • Item 2
    • Item 2.1
      Extension for 2.1
    • Item 2.2
      • Item 2.2.1
  • Item 3

Syntax:

*Item 1
*Item 2
**Item 2.1
**:Extension for 2.1
**Item 2.2
***Item 2.2.1
*Item 3

Numbered Lists[edit | edit source]

Example:

  1. Item 1
  2. Item 2
    1. Item 2.1
      Extension for 2.1
    2. Item 2.2
      1. Item 2.2.1
  3. Item 3

Syntax:

#Item 1
#Item 2
##Item 2.1
##:Extension for 2.1
##Item 2.2
###Item 2.2.1
#Item 3

Non-Hierarchical lists[edit | edit source]

Non-hierarchical lists provide a structure in which there is only one level, with no nesting.

Definition list[edit | edit source]

A definition list isn't formally a list, more a combination of using ; to start a bold line and using : to start a indented line. Still very useful.

Example:

Item 1
Definition 1
Item 2
Definition 2.1
Definition 2.2

Syntax:

;Item 1
: Definition 1
;Item 2
: Definition 2.1
: Definition 2.2

More complex examples[edit | edit source]

Example 1: Mixing and Matching![edit | edit source]

Different types of lists can be easily mixed and matched!

  1. Animals
    • Cats
      A cat is furry
  2. Plants
    • Grass
      1. Green Grass

Syntax:

#Animals
#*Cats
#*:A cat is furry
#Plants
#*Grass
#*#Green Grass