Template:Infobox: Difference between revisions

add Image3
(Add option to embed this infobox into another infobox (should not cause any problems with current transclusions), please revert if controversial. Thanks!)
(add Image3)
Line 25: Line 25:
-->{{#if:{{{image2|}}}|{{Infobox/row
-->{{#if:{{{image2|}}}|{{Infobox/row
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}    |datastyle={{{imagestyle|}}}
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}    |datastyle={{{imagestyle|}}}
|class={{{imageclass|}}}  |rowclass={{{imagerowclass2|}}}
}} }}<!--
Image3
-->{{#if:{{{image3|}}}|{{Infobox/row
|data={{{image3}}}{{#if:{{{caption3|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption3}}}</span>}}    |datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}  |rowclass={{{imagerowclass2|}}}
  |class={{{imageclass|}}}  |rowclass={{{imagerowclass2|}}}
}} }}<!--
}} }}<!--