Difference between revisions of "Template:InfoboxBegin"

m
I'll center the captions too. Let's hope it doesn't break :D
m (I feel these should be aligned to the center. Let's see if everything breaks...)
m (I'll center the captions too. Let's hope it doesn't break :D)
Line 7: Line 7:
{{!-}}
{{!-}}
{{!}} colspan=2 style="{{{{{colors|wiki}}}-td-bg-color}}"  {{!}}
{{!}} colspan=2 style="{{{{{colors|wiki}}}-td-bg-color}}"  {{!}}
{{#if: {{{picture|}}} | [[File:{{{picture|}}}|{{#if: {{{picture_size|100px}}} | {{{picture_size|100px}}} | 100px}}|center]] {{{caption|}}} | [[File:Needed.png|100px|center]] <CENTER>Have an image of this {{{colors}}}? Why not [[Special:Upload|upload]] it?</CENTER> }}
{{#if: {{{picture|}}} | [[File:{{{picture|}}}|{{#if: {{{picture_size|100px}}} | {{{picture_size|100px}}} | 100px}}|center]] <center>{{{caption|}}}</center> | [[File:Needed.png|100px|center]] <center>Have an image of this {{{colors}}}? Why not [[Special:Upload|upload]] it?</center> }}
{{!-}}
{{!-}}
{{#ifeq: {{{show_picture|}}} | true |
{{#ifeq: {{{show_picture|}}} | true |
{{!-}}
{{!-}}
{{!}} colspan=2 style="background:none;border:none;" {{!}} {{tablebegin}} class="collapsible {{{class|}}}" width=100% style="background:none;border:none;"|}}  
{{!}} colspan=2 style="background:none;border:none;" {{!}} {{tablebegin}} class="collapsible {{{class|}}}" width=100% style="background:none;border:none;"|}}  
! colspan=2 style="{{{{{colors|wiki}}}-th-bg-color}};border:collapse;" {{!}} <CENTER>Details</CENTER>
! colspan=2 style="{{{{{colors|wiki}}}-th-bg-color}};border:collapse;" {{!}} <center>Details</center>
{{!-}}
{{!-}}
! width=50% style="{{{{{colors|wiki}}}-th-bg-color}}" | {{{Info1name|}}}
! width=50% style="{{{{{colors|wiki}}}-th-bg-color}}" | {{{Info1name|}}}
1,424

edits