Template:LCARS-BioStats: Difference between revisions

trying much more complicated fix
(discovered new nuances, trying simplest fix)
(trying much more complicated fix)
Line 88: Line 88:
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{AdoptMotherDeathDate}}}</font>||}}{{#if: {{{AdoptMotherDeathPlace|}}}|
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{AdoptMotherDeathDate}}}</font>||}}{{#if: {{{AdoptMotherDeathPlace|}}}|
**<font color=blue>'''Place of Death:'''</font><font color=black> {{{AdoptMotherDeathPlace}}}</font>||}}|}}
**<font color=blue>'''Place of Death:'''</font><font color=black> {{{AdoptMotherDeathPlace}}}</font>||}}|}}
|{{#switch: {{{Siblings|}}}|Yes=width="330px" style="max-width:330px"{{!}}<font size=3 color=blue>'''Siblings'''</font>{{#if: {{{Brother1|}}}|
|width="{{#switch: {{{Siblings|}}}|Yes=330px|No=0|0}}" style="max-width:{{#switch: {{{Siblings|}}}|Yes=330px|No=0|0}}px"|<font size=3 color=blue>'''Siblings'''</font>{{#if: {{{Brother1|}}}|
*<font color=blue>'''Brother:'''</font><font color=black> {{{Brother1}}}</font>{{#if: {{{Brother1BirthDate|}}}|
*<font color=blue>'''Brother:'''</font><font color=black> {{{Brother1}}}</font>{{#if: {{{Brother1BirthDate|}}}|
**<font color=blue>'''Date of Birth:'''</font><font color=black> {{{Brother1BirthDate}}}</font>||}}{{#if: {{{Brother1BirthPlace|}}}|
**<font color=blue>'''Date of Birth:'''</font><font color=black> {{{Brother1BirthDate}}}</font>||}}{{#if: {{{Brother1BirthPlace|}}}|
Line 130: Line 130:
**<font color=blue>'''Location:'''</font><font color=black> {{{Sister3Location}}}</font>||}}{{#if: {{{Sister3DeathDate|}}}|
**<font color=blue>'''Location:'''</font><font color=black> {{{Sister3Location}}}</font>||}}{{#if: {{{Sister3DeathDate|}}}|
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{Sister3DeathDate}}}</font>||}}{{#if: {{{Sister3DeathPlace|}}}|
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{Sister3DeathDate}}}</font>||}}{{#if: {{{Sister3DeathPlace|}}}|
**<font color=blue>'''Place of Death:'''</font><font color=black> {{{Sister3DeathPlace}}}</font>||}}|}}|}}
**<font color=blue>'''Place of Death:'''</font><font color=black> {{{Sister3DeathPlace}}}</font>||}}|}}
|width="20px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|width="20px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|-
|-
|width="{{#switch: {{{Children|}}}|Yes=325|No=660|660}}px" style="max-width:{{#switch: {{{Children|}}}|Yes=325|No=660|660}}px"|{{#switch: {{{Married|}}}|Yes={{#if: {{{Spouse|}}}|<font size=3 color=blue>'''Spouse'''</font>
|width="{{#switch: {{{Children|}}}|Yes=330|No=660|660}}px" style="max-width:{{#switch: {{{Children|}}}|Yes=330|No=660|660}}px"|{{#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|}}}|
Line 161: Line 161:
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{ExSpouse2DeathDate}}}</font>||}}{{#if: {{{ExSpouse2DeathPlace|}}}|
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{ExSpouse2DeathDate}}}</font>||}}{{#if: {{{ExSpouse2DeathPlace|}}}|
**<font color=blue>'''Place of Death:'''</font><font color=white> {{{ExSpouse2DeathPlace}}}</font>||}}|}}|}}
**<font color=blue>'''Place of Death:'''</font><font color=white> {{{ExSpouse2DeathPlace}}}</font>||}}|}}|}}
|{{#switch: {{{Children|}}}|Yes=width="330px" style="max-width:330px"{{!}}<font size=3 color=blue>'''Children'''</font>{{#if: {{{Son1|}}}|
|width="{{#switch: {{{Children|}}}|Yes=330|No=0|0}}px" style="max-width:{{#switch: {{{Children|}}}|Yes=330|No=0|0}}px"|<font size=3 color=blue>'''Children'''</font>{{#if: {{{Son1|}}}|
*<font color=blue>'''Son:'''</font><font color=black> {{{Son1}}}</font>{{#if: {{{Son1BirthDate|}}}|
*<font color=blue>'''Son:'''</font><font color=black> {{{Son1}}}</font>{{#if: {{{Son1BirthDate|}}}|
**<font color=blue>'''Date of Birth:'''</font><font color=black> {{{Son1BirthDate}}}</font>||}}{{#if: {{{Son1BirthPlace|}}}|
**<font color=blue>'''Date of Birth:'''</font><font color=black> {{{Son1BirthDate}}}</font>||}}{{#if: {{{Son1BirthPlace|}}}|
Line 203: Line 203:
**<font color=blue>'''Location:'''</font><font color=black> {{{Daughter3Location}}}</font>||}}{{#if: {{{Daughter3DeathDate|}}}|
**<font color=blue>'''Location:'''</font><font color=black> {{{Daughter3Location}}}</font>||}}{{#if: {{{Daughter3DeathDate|}}}|
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{Daughter3DeathDate}}}</font>||}}{{#if: {{{Daughter3DeathPlace|}}}|
**<font color=blue>'''Date of Death:'''</font><font color=black> {{{Daughter3DeathDate}}}</font>||}}{{#if: {{{Daughter3DeathPlace|}}}|
**<font color=blue>'''Place of Death:'''</font><font color=black> {{{Daughter3DeathPlace}}}</font>||}}|}}|}}
**<font color=blue>'''Place of Death:'''</font><font color=black> {{{Daughter3DeathPlace}}}</font>||}}|}}
|}
|}
{|align=center width="100%" height="20px"
{|align=center width="100%" height="20px"
8,273

edits