Template:List

From Twinsuniverse
Revision as of 23:48, 3 January 2013 by J McKalling (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template wraps up to 10 nonempty strings into an unordered list. If only one string is not empty, it is returned as-is.

Parameters

Ten numbered parameters, no parameter name, case sensitive, all default to not displayed.

Syntax

{{list
 |string one
 |string two
 |string three
 |...
 |string ten
}}

Examples

When specifying only five strings:

{{list
 |Ape
 |Bear
 |Chihuahua
 |Donkey
 |Eel
}}
  • Ape
  • Bear
  • Chihuahua
  • Donkey
  • Eel

  • If only one string is specified:

    {{list|only one string this time}}
    
    only one string this time


    If all strings are empty or no string is specified, all are effectively omitted resulting in no display at all.