Difference between revisions of "Template:List"
Jump to navigation
Jump to search
(Generic list template) |
(Clarify summary) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>'''A template for displaying lists correctly.''' Currently supports up to 10 items, but easily extended if need arises.<br/><br/> |
− | <nowiki>{{List|Item1|Item2|Item3...}}</nowiki> | + | Usage:<br/> |
− | </noinclude><includeonly>{{{1|}}}{{#if: {{{3|}}}|, | and |}}{{{2|}}}{{#if: {{{4|}}}|, | and |}}{{{3|}}}{{#if: {{{5|}}}|, | and |}}{{{4|}}}{{#if: {{{6|}}}|, | and |}}{{{5|}}}{{#if: {{{7|}}}|, | and |}}{{{6|}}}{{#if: {{{8|}}}|, | and |}}{{{7|}}}{{#if: {{{9|}}}|, | and |}}{{{8|}}}{{#if: {{{10|}}}|, | and |}}{{{9|}}}{{#if: {{{11|}}}|, | and |}}{{{10|}}}</includeonly> | + | :{{t|<nowiki>{{List|Item1|Item2|Item3...}}</nowiki>}} |
+ | </noinclude><includeonly>{{{1|}}}{{#if: {{{3|}}}|, | {{#if: {{{2|}}}| and |}} |}}{{{2|}}}{{#if: {{{4|}}}|, | {{#if: {{{3|}}}| and |}} |}}{{{3|}}}{{#if: {{{5|}}}|, | {{#if: {{{4|}}}| and |}} |}}{{{4|}}}{{#if: {{{6|}}}|, | {{#if: {{{5|}}}| and |}} |}}{{{5|}}}{{#if: {{{7|}}}|, | {{#if: {{{6|}}}| and |}} |}}{{{6|}}}{{#if: {{{8|}}}|, | {{#if: {{{7|}}}| and |}} |}}{{{7|}}}{{#if: {{{9|}}}|, | {{#if: {{{8|}}}| and |}} |}}{{{8|}}}{{#if: {{{10|}}}|, | {{#if: {{{9|}}}| and |}} |}}{{{9|}}}{{#if: {{{11|}}}|, | {{#if: {{{10|}}}| and |}} |}}{{{10|}}}</includeonly> |
Latest revision as of 03:44, 2 December 2013
A template for displaying lists correctly. Currently supports up to 10 items, but easily extended if need arises.
Usage:
- {{List|Item1|Item2|Item3...}}