Difference between revisions of "Template:List"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(Created page with '{{{1|}}}<!-- 2: -->{{#if:{{{2|}}}|{{#if:{{{3|}}}|,| and}} {{{2}}}<!-- 3: -->{{#if:{{{3|}}}|{{#if:{{{4|}}}|,| and}} {{{3}}}<!-- 4: -->{{#if:{{{4|}}}|{{#if:{{{5|}}}...')
 
(Unfortunately, the extension does not work anymore.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{1|}}}<!--
{{{1|}}}<!--
2:
-->{{#if:{{{2|}}}|, {{{2|}}}|}}<!--
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|,|&#32;and}}&#32;{{{2}}}<!--
-->{{#if:{{{3|}}}|, {{{3|}}}|}}<!--
3:
-->{{#if:{{{4|}}}|, {{{4|}}}|}}<!--
-->{{#if:{{{3|}}}|{{#if:{{{4|}}}|,|&#32;and}}&#32;{{{3}}}<!--
-->{{#if:{{{5|}}}|, {{{5|}}}|}}<!--
4:
-->{{#if:{{{6|}}}|, {{{6|}}}|}}<!--
-->{{#if:{{{4|}}}|{{#if:{{{5|}}}|,|&#32;and}}&#32;{{{4}}}<!--
-->{{#if:{{{7|}}}|, {{{7|}}}|}}<!--
5:
-->{{#if:{{{8|}}}|, {{{8|}}}|}}<!--
-->{{#if:{{{5|}}}|{{#if:{{{6|}}}|,|&#32;and}}&#32;{{{5}}}<!--
-->{{#if:{{{9|}}}|, {{{9|}}}|}}<!--
6:
-->{{#if:{{{10|}}}|, {{{10|}}}|}}<!--
-->{{#if:{{{6|}}}|{{#if:{{{7|}}}|,|&#32;and}}&#32;{{{6}}}<!--
-->{{#if:{{{11|}}}|, {{{11|}}}|}}<!--
7:
-->{{#if:{{{12|}}}|, {{{12|}}}|}}<!--
-->{{#if:{{{7|}}}|{{#if:{{{8|}}}|,|&#32;and}}&#32;{{{7}}}<!--
-->{{#if:{{{13|}}}|, {{{13|}}}|}}<!--
8:
-->{{#if:{{{14|}}}|, {{{14|}}}|}}<!--
-->{{#if:{{{8|}}}|{{#if:{{{9|}}}|,|&#32;and}}&#32;{{{8}}}<!--
-->{{#if:{{{15|}}}|, {{{15|}}}|}}<!--
9:
-->{{#if:{{{16|}}}|, {{{16|}}}|}}<!--
-->{{#if:{{{9|}}}|{{#if:{{{10|}}}|,|&#32;and}}&#32;{{{9}}}<!--
-->{{#if:{{{17|}}}|, {{{17|}}}|}}<!--
10:
-->{{#if:{{{18|}}}|, {{{18|}}}|}}<!--
-->{{#if:{{{10|}}}|{{#if:{{{11|}}}|,|&#32;and}}&#32;{{{10}}}<!--
-->{{#if:{{{19|}}}|, {{{19|}}}|}}<!--
11:
-->{{#if:{{{20|}}}|, {{{20|}}}|}}<!--
-->{{#if:{{{11|}}}|{{#if:{{{12|}}}|,|&#32;and}}&#32;{{{11}}}<!--
-->{{#if:{{{21|}}}|, {{{21|}}}|}}<!--
12:
-->{{#if:{{{22|}}}|, {{{22|}}}|}}<noinclude>{{documentation}}</noinclude>
-->{{#if:{{{12|}}}|{{#if:{{{13|}}}|,|&#32;and}}&#32;{{{12}}}<!--
end
-->|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 00:49, 21 February 2022

Documentation for {{list}}

Use

Creating 'human' lists which last two elements will always end in 'n-1 and n'. If only a single element is supplied, it will just be displayed.

Usage

{{list|parameters|...}}

Examples

{{list|1|2|3|4}}
  • 1, 2, 3, 4
{{list|1|2}}
  • 1, 2
{{list|1}}
  • 1