Difference between revisions of "Template:Infobox"

From Taijitu
Jump to: navigation, search
Line 2: Line 2:
 
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}; font-size:125%;"|{{{title}}}
 
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}; font-size:125%;"|{{{title}}}
 
|-
 
|-
|{{{content}}}
+
|{{{content}}} {{#if: {{{section1|}}}|
{{#if: {{{section1|}}}|{{!}}-
+
{{!}}-
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section1|}}}}}
+
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section1|}}}
{{#if: {{{section2|}}}|{{!}}-
+
}} {{#if: {{{section2|}}}|
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section2|}}}}}
+
{{!}}-
{{#if: {{{section3|}}}|{{!}}-
+
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section2|}}}
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section3|}}}}}
+
}} {{#if: {{{section3|}}}|
{{#if: {{{section4|}}}|{{!}}-
+
{{!}}-
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section4|}}}}}
+
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section3|}}}
 +
}} {{#if: {{{section4|}}}|
 +
{{!}}-
 +
!colspan=2 style="text-align:center; background-color:{{{color|darkgray}}}"{{!}}{{{section4|}}}
 +
}}
 
|}
 
|}

Revision as of 20:22, 21 February 2011

{{{title}}}
{{{content}}}