Template:Infobox: Difference between revisions

    m>MSGJ
    (undo: adding parameters to a highly used meta-template should probably be discussed, the second image was only added after much debate)
    imported>Dinoguy1000
    (add {{{aboveimage}}}, to insert an image directly above {{{above}}})
    Line 2: Line 2:
      Caption
      Caption
    -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
    -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
    Aboveimage
    -->{{#if:{{{aboveimage|}}}|{{Infobox/row
    |data={{{aboveimage|}}}{{#if:{{{abovecaption|}}}|<br /><span style="{{{captionstyle|}}}">{{{abovecaption|}}}</span>}}    |datastyle={{{imagestyle|}}}
    |class={{{imageclass|}}}  |rowclass={{{aboveimagerowclass|}}}
    }} }}<!--
      Header
      Header
    -->{{#if:{{{above|}}}|{{Infobox/row
    -->{{#if:{{{above|}}}|{{Infobox/row