Template talk:Template list
From Wikipedia, the free encyclopedia
Contents |
[edit] Test Initial version
- {{Template list|la|lc|lt|las|lcs|lts}}
- Initial results
'Test of current' [[{{{SISTER}}}:Template:la|la]] |Templates: [[{{{SISTER}}}:Template: la|la]]}} | Editing error: No perameter given in template {{Template list}} }}, [[{{{SISTER}}}:Template: lc|lc]], [[{{{SISTER}}}:Template: lt|lt]], [[{{{SISTER}}}:Template: las|las]], [[{{{SISTER}}}:Template: lcs|lcs]], and [[{{{SISTER}}}:Template: lts|lts]]
Fails initial testing (no surprise!) // FrankB 22:32, 29 January 2007 (UTC)
[edit] Test of 2nd try
- {{Template list|la|lc|lt|las|lcs|lts}}
- and subst of same:
Editing error: No perameter given in template {{Template list}} }}, lc, lt, las, lcs, and lts
<div class="boilerplate tmpseealso">[[{{{SISTER|}}}:Template:la|la]] |Templates: [[{{{SISTER|}}}:Template: la|la]]}} |<font color=red>{{I2}}Editing error: '''No perameter given''''' in template ''{{tl|Template list}}</font> }}{{#if:lc|{{#if:lt|, | and }} [[{{{SISTER|}}}:Template: lc|lc]] }}{{#if:lt|{{#if:las|, |, and }} [[{{{SISTER|}}}:Template: lt|lt]] }}{{#if:las|{{#if:lcs|, |, and }} [[{{{SISTER|}}}:Template: las|las]] }}{{#if:lcs|{{#if:lts|, |, and }} [[{{{SISTER|}}}:Template: lcs|lcs]] }}{{#if:lts|{{#if:{{{7|}}}|, |, and }} [[{{{SISTER|}}}:Template: lts|lts]] }}{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |, and }} [[{{{SISTER|}}}:Template: {{{7}}}|{{{ 7 }}}]] }}{{#if:{{{8|}}}|{{#if:{{{9|}}}|, |, and }} [[{{{SISTER|}}}:Template: {{{8}}}|{{{ 8 }}}]] <!-- SNIP Snip --> }}{{#if:{{{40|}}}|, and [[{{{SISTER|}}}:Template: {{{40}}}|{{{ 40}}}]] }}{{#if:{{{41|}}}|…'''Error: [[Template:Template list]] maximum 40 list perameters allowed''' }}''</div>
- Comparison:
<div class="boilerplate catseealsow2c">''See also commons {{#if:{{{1|}}}|{{#if:{{{2|}}}|Categories: {{indent|5}}[[commons:Category:{{{1}}}|{{{1}}}]] |Categories: [[commons:Category: {{{1}}}|{{{1}}}]]}} |<font color=red>{{I2}}Editing error: '''No perameter given''''' in template ''{{tl|cat see also W2c (commons)}}</font> }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} [[commons:Category: {{{2}}}|{{{ 2 }}}]] }}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[commons:Category: {{{3}}}|{{{ 3 }}}]] }}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |, and }} [[commons:Category: {{{4}}}|{{{ 4 }}}]] }}{{#if:{{{5|}}}|{{#if:{{{6|}}}|, |, and }} [[commons:Category: {{{5}}}|{{{ 5 }}}]] }}{{#if:{{{6|}}}|{{#if:{{{7|}}}|, |, and }} [[commons:Category: {{{6}}}|{{{ 6 }}}]] }}{{#if:{{{7|}}}|{{#if:{{{8|}}}|, |, and }} [[commons:Category: {{{7}}}|{{{ 7 }}}]] }}{{#if:{{{8|}}}|{{#if:{{{9|}}}|, |, and }} [[commons:Category: {{{8}}}|{{{ 8 }}}]]
[edit] Pass 3 try=
- New front end
- ;{{Template list|la|lc|lt|las|lcs|lts}}:
- See also Templates: la , lc, lt, las, lcs, and lts :
- With a label: {{Template list|LABEL=glops|la|lc|lt|las|lcs|lts}} → glops: la , lc, lt, las, lcs, and lts.
|glops: la , lc, lt, las, lcs, and lts.|
|glops: la .| End re-revision // FrankB 06:27, 16 February 2007 (UTC)
[edit] multi-column lists
Is there a way to get an automated multi-column list like in {{reflist}}? -Eep² 06:31, 1 May 2007 (UTC)
To force automatic multicolumn format, wrap your content in the following div tags making use of the style parameters. You can use *, # or : paragraphs with this method. If you use the definition list (; .. : ..) format then place the ; outside the div block. As shown here. I am not certain but I don't think IE7 will render multicolumn until it supports CSS3. To support that browser today you may need to use a wikitable instead.
;Options <!-- Multi-column format --> <div style="-moz-column-count:3;-moz-column-width:20em;-moz-column-gap:1px; <!-- gecko/mozilla --> -webkit-column-count:3;-webkit-column-width:20em;-webkit-column-gap:1px; <!-- webkit/safari --> column-count:3;column-width:20em;column-gap:1px;"> <!-- CSS3 future proof --> :P = passive :A = attack :B = buff :O = other :SB = self buff :HS = healing spell :EA = earth attack :FA = fire attack :AA = air attack :WA = water attack</div>
renders as:
- Options
- P = passive
- A = attack
- B = buff
- O = other
- SB = self buff
- HS = healing spell
- EA = earth attack
- FA = fire attack
- AA = air attack
- WA = water attack
Najevi (talk) 09:11, 24 May 2008 (UTC)