Template:LCARS-BioStats: Difference between revisions

removing width switches - leaving max-width switches
(widening borders)
(removing width switches - leaving max-width switches)
Line 39: Line 39:
{|align=center width="100%" height="20px"
{|align=center width="100%" height="20px"
|width="40px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|width="40px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|width="{{#switch: {{{Siblings|}}}|Yes=320|No=640|640}}px" style="max-width:{{#switch: {{{Siblings|}}}|Yes=320|No=640|640}}px" {{#switch: {{{Siblings|}}}|Yes=|No=colspan="2"|colspan="2"}}|<font size=3 color=blue>'''Parents'''</font>
|width="320px" style="max-width:{{#switch: {{{Siblings|}}}|Yes=320|No=640|640px" {{#switch: {{{Siblings|}}}|Yes=|No=colspan="2"|colspan="2"}}|<font size=3 color=blue>'''Parents'''</font>
*<font color=blue>'''Father:'''</font>{{#if: {{{Father|}}}|<font color=black> {{{Father}}}</font>{{#if: {{{FatherMaiden|}}}|
*<font color=blue>'''Father:'''</font>{{#if: {{{Father|}}}|<font color=black> {{{Father}}}</font>{{#if: {{{FatherMaiden|}}}|
**<font color=blue>'''Maiden Name:'''</font><font color=black> {{{FatherMaiden}}}</font>||}}{{#if: {{{FatherBirthDate|}}}|
**<font color=blue>'''Maiden Name:'''</font><font color=black> {{{FatherMaiden}}}</font>||}}{{#if: {{{FatherBirthDate|}}}|
Line 133: Line 133:
|width="40px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|width="40px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|-
|-
|width="{{#switch: {{{Children|}}}|Yes=320|No=640|640}}px" style="max-width:{{#switch: {{{Children|}}}|Yes=320|No=640|640}}px" {{#switch: {{{Children|}}}|Yes=|No=colspan="2"|colspan="2"}}|{{#switch: {{{Married|}}}|Yes={{#if: {{{Spouse|}}}|<font size=3 color=blue>'''Spouse'''</font>
|width="320px" style="max-width:{{#switch: {{{Children|}}}|Yes=320|No=640|640}}px" {{#switch: {{{Children|}}}|Yes=|No=colspan="2"|colspan="2"}}|{{#switch: {{{Married|}}}|Yes={{#if: {{{Spouse|}}}|<font size=3 color=blue>'''Spouse'''</font>
*<font color=blue>'''Name:'''</font><font color=black> {{{Spouse}}}</font>{{#if: {{{SpouseMaiden|}}}|
*<font color=blue>'''Name:'''</font><font color=black> {{{Spouse}}}</font>{{#if: {{{SpouseMaiden|}}}|
**<font color=blue>'''Maiden Name:'''</font><font color=black> {{{SpouseMaiden}}}</font>||}}{{#if: {{{WeddingDate|}}}|
**<font color=blue>'''Maiden Name:'''</font><font color=black> {{{SpouseMaiden}}}</font>||}}{{#if: {{{WeddingDate|}}}|
8,273

edits