Difference between revisions of "Template:List"

From Twinsuniverse
Jump to: navigation, search
(Created page with "<includeonly>{{ #ifexpr: ({{#if:{{{1|}}}|1|0}} + {{#if:{{{2|}}}|1|0}} + {{#if:{{{3|}}}|1|0}} + {{#if:{{{4|}}}|1|0}} + {{#if:{{{5|}}}|1|0}} + {{#if:{{{6|}}}|1|0}} + {{#if:{{{7|...")
(No difference)

Revision as of 22:48, 3 January 2013

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.