Template:LCARS-Sidebar: Difference between revisions

Jump to navigation Jump to search
adding new switch to make filler image optional
(forgot one {{!}})
(adding new switch to make filler image optional)
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:#{{#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>{{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]]<br>||}}{{#if: {{{ShipReg|}}}|{{{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>{{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|120px]]|{{{Image|}}}=[[Image:{{{Image}}}|120px]]||}}{{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]]<br>||}}{{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}||}}</font>
|-
|-
| style="font-size: 90%" |
| style="font-size: 90%" |
Line 18: Line 18:
|FirstName = Jane
|FirstName = Jane
|LastName = Doe (optional)
|LastName = Doe (optional)
|Image = Filename.jpg (optional)
|Image = Filename.jpg (optional - Type None if you want a place-keeping image [see example],
                          don't include if you want no image at all)
|Post = Captain's Pet
|Post = Captain's Pet
|Ship = USS Steampunk (optional)
|Ship = USS Steampunk (optional)
Line 45: Line 46:
|FirstName = James T.
|FirstName = James T.
|LastName = Picard
|LastName = Picard
|Image = CaptainPicardTOS.jpg
|Post = Commanding Officer
|Post = Commanding Officer
|Ship = USS Enterprise
|Ship = USS Enterprise
Line 71: Line 71:
|FirstName = Jane
|FirstName = Jane
|LastName = Doe
|LastName = Doe
|Image = Sunnyperaino.jpg
|Image = None
|Post = Captain's Pet
|Post = Captain's Pet
|Ship = USS Steampunk
|Ship = USS Steampunk
8,273

edits

Navigation menu