Template:LCARS-Sidebar: Difference between revisions

adding new #if: to match color to default pips
(removing auto-bold for Extra section)
(adding new #if: to match color to default pips)
Line 1: Line 1:
<includeonly>{| class="toc colour" style="margin: 0 0 1em 1em;border-radius: 15px 15px 15px 15px;" align="right"
<includeonly>{| class="toc colour" style="margin: 0 0 1em 1em;border-radius: 15px 15px 15px 15px;" align="right"
! style="background:#{{FIBGColor|{{{Color}}}}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color=#efe576>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color=white>{{{FirstName|}}} {{{LastName|}}}</font>]]<br>{{#if: {{{Image|}}}|[[Image:{{{Image}}}|120px]]|[[Image:Roster-blank.jpg|120px]]}}<br>{{Pips|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color=white>''{{{Ship|}}}''</font>]]<br>{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|100px]]||}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}||}}</font>
! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color=#efe576>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color=white>{{{FirstName|}}} {{{LastName|}}}</font>]]<br>{{#if: {{{Image|}}}|[[Image:{{{Image}}}|120px]]|[[Image:Roster-blank.jpg|120px]]}}<br>{{Pips|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color=white>''{{{Ship|}}}''</font>]]<br>{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|100px]]||}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}||}}</font>
|-
|-
| style="font-size: 90%" |
| style="font-size: 90%" |
8,273

edits