Template:Box

From 2009.igem.org

(Difference between revisions)
(New page: {{Infobox |abovestyle = |above = |image = |caption = |headerstyle = |header1 = |label1 = |data1 = |header2 = |label2 = |data2 = }})
 
(3 intermediate revisions not shown)
Line 1: Line 1:
-
{{Infobox
+
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
-
|abovestyle =
+
  Caption
-
|above       =
+
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
-
|image      =
+
Header
-
|caption     =
+
-->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}<!--
-
|headerstyle =
+
Subheader1
-
|header1     =
+
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1}}}}}}</td></tr>}}<!--
-
|label1     =
+
Subheader2
-
|data1       =
+
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
-
|header2     =
+
Image1
-
|label2     =
+
-->{{#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>}}<!--
-
|data2       =
+
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>}}<!--
 +
-->{{Box/row
 +
|header={{{header1|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label1|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data1|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class1|}}}  |rowclass={{{rowclass1|}}}
 +
}}{{Box/row
 +
|header={{{header2|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label2|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data2|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class2|}}}  |rowclass={{{rowclass2|}}}
 +
}}{{Box/row
 +
|header={{{header3|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label3|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data3|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class3|}}}  |rowclass={{{rowclass3|}}}
 +
}}{{Box/row
 +
|header={{{header4|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label4|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data4|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class4|}}}  |rowclass={{{rowclass4|}}}
 +
}}{{Box/row
 +
|header={{{header5|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label5|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data5|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class5|}}}  |rowclass={{{rowclass5|}}}
 +
}}{{Box/row
 +
|header={{{header6|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label6|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data6|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class6|}}}  |rowclass={{{rowclass6|}}}
 +
}}{{Box/row
 +
|header={{{header7|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label7|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data7|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class7|}}}  |rowclass={{{rowclass7|}}}
 +
}}{{Box/row
 +
|header={{{header8|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label8|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data8|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class8|}}}  |rowclass={{{rowclass8|}}}
 +
}}{{Box/row
 +
|header={{{header9|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label9|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data9|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class9|}}}  |rowclass={{{rowclass9|}}}
 +
}}{{Box/row
 +
|header={{{header10|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label10|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data10|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class10|}}}  |rowclass={{{rowclass10|}}}
 +
}}<!-- Below
 +
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!--
 +
 
 +
 
 +
</table><noinclude>
 +
</noinclude>

Latest revision as of 14:58, 13 October 2009

{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if: |
|{{#if:
|{{#if: | }} }{{#if:|}}
{{{title}}}
{{{above}}}
{{{subheader1}}}
{{{subheader2}}}
{{{image1}}}{{#if:|
{{{caption1}}}}}
{{{image2}}}{{#if:|
{{{caption2}}}}}
| }}
| }}
| }}
| }}
| }}
| }}
| }}
| }}
| }}
| }}
{{{below}}}