Template:Infobox2: Difference between revisions

From ReplayResources
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
-->{{#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>}}<!--
  Header
  Header
-->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}<!--
-->{{#if:{{{above|}}}|<tr><th colspan="3" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}<!--
  Subheader1
  Subheader1
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1}}}}}}</td></tr>}}<!--
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="3" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1}}}}}}</td></tr>}}<!--
  Subheader2
  Subheader2
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
-->{{#if:{{{subheader2|}}}|<tr><td colspan="3" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
Image1
-->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{{image|{{{image1}}}}}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}</td></tr>}}<!--
-->{{Infobox/row
-->{{Infobox/row
  |header={{{header1|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header1|}}} |headerstyle={{{headerstyle|}}}
Line 16: Line 14:
  |data={{{data1|}}}    |datastyle={{{datastyle|}}}
  |data={{{data1|}}}    |datastyle={{{datastyle|}}}
  |class={{{class1|}}}  |rowclass={{{rowclass1|}}}
  |class={{{class1|}}}  |rowclass={{{rowclass1|}}}
}}<!--
Image1
-->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="1" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{{image|{{{image1}}}}}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}</td></tr>
}}{{Infobox/row
}}{{Infobox/row
  |header={{{header2|}}} |headerstyle={{{headerstyle|}}}
  |header={{{header2|}}} |headerstyle={{{headerstyle|}}}
Line 413: Line 414:
}}<!-- Below
}}<!-- Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}
</table><!--
</table>
Image2
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}</td></tr>}}
</div>
</div>

Revision as of 22:07, 1 August 2010