Template:Horizontal list

From 118Wiki
Revision as of 14:41, 17 July 2024 by Jovenan (talk | contribs) (new template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template Documentation
Creates a horizontal list i.e. a list that is on a continuous line. Adds a dot • between entries, and parenthesis between sublists. Currently only supports unordered lists.

Usage

Basic usage:

{{Horizontal list|
* Jonathan Archer
* Christopher Pike
* James T. Kirk
* Jean-Luc Picard
** William T. Riker
** Data
* Benjamin Sisko
* Kathryn Janeway}}
  • Jonathan Archer
  • Christopher Pike
  • James T. Kirk
  • Jean-Luc Picard
    • William T. Riker
    • Data
  • Benjamin Sisko
  • Kathryn Janeway


Write the 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.

See also