Template:KolkFI: Difference between revisions

fixing breaks so there's no weird space when char image is gone
(adding break in dirextions so they can be read behind floating example)
(fixing breaks so there's no weird space when char image is gone)
Line 1: Line 1:
<includeonly>{| class="TOCfixed" style="margin: 0 0 1em 1em;border-radius: 15px 15px 15px 15px;" align="right"
<includeonly>{| class="TOCfixed" 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>{{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|120px]]|{{{Image|}}}=[[Image:{{{Image}}}|120px]]||}}<br>{{Pip120|{{#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}}}|120px]]||}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}
! 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>{{#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=white>''{{{Ship|}}}''</font>]]<br>||}}{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]||}}{{#if: {{{ShipReg|}}}|<br>{{{ShipReg|}}}||}}
|-
|-
| style="font-size: 90%" |
| style="font-size: 90%" |
8,273

edits