Template:List

From Twinsuniverse
Revision as of 00:01, 4 January 2013 by J McKalling (Talk | contribs)

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.

This is useful if the strings are yet unknown and only need to be wrapped if there are more than one not empty.

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.