Template:LCARS-BioStats: Difference between revisions

Jump to navigation Jump to search
applying switch to children section
(adjusting style of last edit display)
(applying switch to children section)
Line 38: Line 38:
{|align=center width="100%"
{|align=center width="100%"
|width="15px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|width="15px" rowspan="2" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"|
|width="{{#switch: {{{Siblings|}}}|Yes=342|No={{#switch: {{{Children|}}}|Yes=342|No=685|685}}|{{#switch: {{{Children|}}}|Yes=342|No=685|685}}}}px" style="max-width:685px"|<font size=3 color=blue>'''Parents'''</font>
|width="{{#switch: {{{Siblings|}}}|Yes=342|No=685|685}}px" style="max-width:685px"|<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> {{{MotherMaiden}}}</font>||}}{{#if: {{{FatherBirthYear|}}}|
**<font color=blue>'''Maiden Name:'''</font><font color=black> {{{MotherMaiden}}}</font>||}}{{#if: {{{FatherBirthYear|}}}|
Line 99: Line 99:
**<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="342px" style="max-width:685px"|{{#switch: {{{Married|}}}|Yes={{#if: {{{Spouse|}}}|<font size=3 color=blue>'''Spouse'''</font>
|width="{{#switch: {{{Children|}}}|Yes=342|No=685|685}}px" style="max-width:685px"|{{#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: {{{SpouseBirthYear|}}}|
**<font color=blue>'''Maiden Name:'''</font><font color=black> {{{SpouseMaiden}}}</font>||}}{{#if: {{{SpouseBirthYear|}}}|
8,273

edits

Navigation menu