Hi Tim,
2009/5/18 Tim Ware <tim(a)hyperarts.com>om>:
Hello,
I'd like to use the Template: Infobox Song, as is used in Wikipedia
here:
http://en.wikipedia.org/wiki/A_day_in_the_life
but I just can't seem to figure it out. The template begins with:
<includeonly>{| class="infobox" style="width: 20em;"
|-
! colspan="3" scope="col" style="background: {{Infobox
Song/color}};"
| "{{{Name}}}"
|-
| colspan="3" style="text-align: center;" | {{#if: {{{Cover|}}}
| [[Image:{{{Cover}}}|{{min|220|{{{Cover size|}}}}}px|{{#ifeq:
{{{Border|}}}|yes|border{{!}}}}{{#if: {{{Caption|}}} | {{{Caption}}} |
"{{{Name}}}" cover}}]]}}
{{#if:{{{Caption|}}} | <div style="font-size: 0.8em; line-height:
1.4em;">{{{Caption}}}</div>
}}
and those "!" have some meaning which I can't figure out. But the
table that is supposed to be written isn't written correctly, with
those "colspan="3" scope="col" etc. remaining outside the
<th>.
Can't help you with the actual problem, but the {{{!}}} template is
used to pass a | charcter as a parameter in a template call. Just take
a look at the Template:! page to see this.
--
Regards,
Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\
http://tortoisesvn.net