Template:Plainlist

From 118Wiki
Jump to navigation Jump to search
Template Documentation
Creates a list without the list marker.

This should be identical to using <br> tags after each line in plain text. The benefits of using this template over using <br> tags are:

  • Easier to write and less prone to missing tags
  • Can be placed in a template without complicated system to include <br> tags after each line
  • May be more accessible, as screen readers may be able to recognize such a list as a list instead of continuous text

The template supports ordered and unordered lists, as well as sub-lists (indented list).

Usage

Basic usage:

{{Plainlist|
* Jean-Luc Picard
** William T. Riker
** Data
* Benjamin Sisko
* Kathryn Janeway}}
  • Jean-Luc Picard
    • William T. Riker
    • Data
  • Benjamin Sisko
  • Kathryn Janeway


Write the (ordered or unordered) list as normally within the unnamed parameter.

style parameter allows further styling of the list with CSS.

class parameter allows adding another CSS class to the list.