Template:LCARS-Sidebar: Difference between revisions

adding max-width again
(typo)
(adding max-width again)
Line 2: Line 2:
! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>{{{FirstName|}}}{{#if: {{{NickName|}}}|<font> "{{{NickName}}}"</font>||}} {{{LastName|}}}</font>]]<br>{{#switch: {{{Style}}}|DS9={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|110px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|110px]]<br>||}}|{{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|120px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|120px]]<br>||}}}}{{Pip120|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>''{{{Ship|}}}''</font>]]<br>||}}{{#switch: {{{Style}}}|DS9={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|110px]]||}}|{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]||}}}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}
! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>{{{FirstName|}}}{{#if: {{{NickName|}}}|<font> "{{{NickName}}}"</font>||}} {{{LastName|}}}</font>]]<br>{{#switch: {{{Style}}}|DS9={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|110px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|110px]]<br>||}}|{{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|120px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|120px]]<br>||}}}}{{Pip120|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>''{{{Ship|}}}''</font>]]<br>||}}{{#switch: {{{Style}}}|DS9={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|110px]]||}}|{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]||}}}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}
|-
|-
| style="font-size: 90%" |
| style="max-width:250px font-size: 90%" |
{{{Extra|}}}{{#if: {{{Species|}}}|'''Species:''' {{{Species}}}<br>||}}{{#if: {{{Gender|}}}|'''Gender:''' {{{Gender}}}<br>||}}{{#if: {{{BirthYear|}}}|'''Born:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}<br>'''Age:''' {{Age|{{{BirthYear|}}}|{{{BirthMonth|}}}|{{{BirthDate|}}}}}<br>||}}{{#if: {{{BirthPlace|}}}|'''Birth Place:''' {{{BirthPlace}}}<br>||}}
{{{Extra|}}}{{#if: {{{Species|}}}|'''Species:''' {{{Species}}}<br>||}}{{#if: {{{Gender|}}}|'''Gender:''' {{{Gender}}}<br>||}}{{#if: {{{BirthYear|}}}|'''Born:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}<br>'''Age:''' {{Age|{{{BirthYear|}}}|{{{BirthMonth|}}}|{{{BirthDate|}}}}}<br>||}}{{#if: {{{BirthPlace|}}}|'''Birth Place:''' {{{BirthPlace}}}<br>||}}
|-
|-
8,273

edits