Difference between revisions of "Template:Infobox"

From Self-sufficiency
Jump to: navigation, search
(Created page with '{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!-- Ca…')
 
(Per editrequest on talk page)
Line 8: Line 8:
 
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
 
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
 
  Subheader1
 
  Subheader1
-->{{#if:{{{subheader|}}}|{{Infobox/row
+
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
  |data={{{subheader}}}     |datastyle={{{subheaderstyle|}}}
+
  |data={{{subheader|{{{subheader1|}}}}}}
  |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass1|}}}
+
|datastyle={{{subheaderstyle|}}}
 +
  |class={{{subheaderclass|}}}
 +
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
 
}} }}<!--
 
}} }}<!--
 
  Subheader2
 
  Subheader2
 
-->{{#if:{{{subheader2|}}}|{{Infobox/row
 
-->{{#if:{{{subheader2|}}}|{{Infobox/row
  |data={{{subheader2}}}     |datastyle={{{subheaderstyle|}}}
+
  |data={{{subheader2}}}
  |class={{{subheaderclass|}}}   |rowclass={{{subheaderrowclass2|}}}
+
|datastyle={{{subheaderstyle|}}}
 +
  |class={{{subheaderclass|}}}
 +
|rowclass={{{subheaderrowclass2|}}}
 
}} }}<!--
 
}} }}<!--
 
  Image1
 
  Image1
 
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
 
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}     |datastyle={{{imagestyle|}}}
+
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}
  |class={{{imageclass|}}}   |rowclass={{{imagerowclass1|}}}
+
|datastyle={{{imagestyle|}}}
 +
  |class={{{imageclass|}}}
 +
|rowclass={{{imagerowclass1|}}}
 
}} }}<!--
 
}} }}<!--
 
  Image2
 
  Image2
 
-->{{#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>}}
  |class={{{imageclass|}}}   |rowclass={{{imagerowclass2|}}}
+
|datastyle={{{imagestyle|}}}
 +
  |class={{{imageclass|}}}
 +
|rowclass={{{imagerowclass2|}}}
 
}} }}<!--
 
}} }}<!--
 
-->{{Infobox/row
 
-->{{Infobox/row
Line 434: Line 442:
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>
 +
[[Category:2Fix]]

Revision as of 05:57, 30 June 2010