8,273
edits
(correcting sibling width) |
(adding max-width switches) |
||
Line 8: | Line 8: | ||
{|align=center width="100%" | {|align=center width="100%" | ||
|width="20px" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"| | |width="20px" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"| | ||
|width="{{#if: {{{Image|}}}| | |width="{{#if: {{{Image|}}}|360|660}}px" style="max-width:{{#if: {{{Image|}}}|360|660}}px"|<font color=blue>'''Full Name:'''</font><font color=black> {{{Name}}}</font>{{#if: {{{MaidenName|}}}|<br><font color=blue>'''Maiden Name:'''</font><font color=black> {{{MaidenName}}}</font>||}}{{#if: {{{NickName|}}}|<br><font color=blue>'''Nickname(s):'''</font><font color=black> {{{NickName}}}</font>||}}<br><font color=blue>'''Race:'''</font> [[{{{Race}}}|<font color=black>{{{Race}}}</font>]]<br><font color=blue>'''Gender:'''</font><font color=black> {{{Gender}}}</font><br><font color=blue>'''Date of Birth:'''</font><font color=black> {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDay}}}</font><br><font color=blue>'''Age:'''</font><font color=black> {{Age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDay}}}}}<br><font color=blue>'''Place of Birth:'''</font><font color=black> {{{BirthPlace}}}</font>{{#if: {{{TeleRating|}}}|<br>'''[[T/E Rating System|<font color=blue>Telepathy Rating:</font>]]'''<font color=black> {{{TeleRating}}}</font>||}}<br><font color=blue>'''Rank:'''</font><font color=black> {{{Rank}}}</font>{{#if: {{{Post|}}}|<br><font color=blue>'''Duty Post:'''</font><font color=black> {{{Post}}}</font>|}}{{#if: {{{Ship|}}}|<br><font color=blue>'''Assignment:'''</font><font color=black> [[{{{Ship}}}|''{{{Ship}}}'']]</font>{{#if: {{{ShipReg|}}}|<font color=black> {{{ShipReg}}}</font>||}}||}}{{#if: {{{Location|}}}|<br><font color=blue>'''Location:'''</font><font color=black> {{{Location}}}</font>||}}{{#if: {{{Image|}}}|<br> | ||
{{!}}width="300px" style="max-width:300px"{{!}}[[Image:{{{Image}}}{{!}}thumb]]||}} | {{!}}width="300px" style="max-width:300px"{{!}}[[Image:{{{Image}}}{{!}}thumb]]||}} | ||
|width="20px" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"| | |width="20px" style="background:#{{DefBGColor|{{{Color}}}}}; border:0px solid white"| | ||
Line 39: | Line 39: | ||
{|align=center width="100%" height="20px" | {|align=center width="100%" height="20px" | ||
|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: {{{Siblings|}}}|Yes=330|No=660|660}}px" style="max-width: | |width="{{#switch: {{{Siblings|}}}|Yes=330|No=660|660}}px" style="max-width:{{#switch: {{{Siblings|}}}|Yes=330|No=660|660}}px"|<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 101: | Line 101: | ||
|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=330|No=660|660}}px" style="max-width: | |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: {{{SpouseBirthYear|}}}| | **<font color=blue>'''Maiden Name:'''</font><font color=black> {{{SpouseMaiden}}}</font>||}}{{#if: {{{SpouseBirthYear|}}}| |
edits