Template:List

From Len'en Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

{{List}} may be used to generate a bulleted list in similar vein to HTML's <ul>...</ul> list. A typical application is within captions, where the equivalent wiki markup (asterisks at the starts of new lines) may be awkward or impossible to use.

Usage

{{list|item1|item2|...}}

Output:

  • item1
  • item2
  • ...

Positional parameters (1, 2, 3...) - these are the list items. If no list items are present, the template will output nothing. Up to 30 parameters are usable.

It's also possible to create a nested bullet list: all that's required is adding another {{list}} within one of the parameters. Example:

{{list|item1|item2{{list|item1|...}}|...}}

Output:

  • item1
  • item2
    • item1
    • ...
  • ...

Example where the template could be used:

  • OMG
  • it be
  • clos
[[File:Le01ClauseSprite.png|thumb|{{list|OMG|it be|clos}}]]