8,273
edits
(attempting a swtich incase user doesn't want to have a char pic) |
(trying swtich without if inside) |
||
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= | ! 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>}}<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%" | | ||
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 (optional) | |Post = Captain's Pet (optional) | ||
|Ship = USS Steampunk (optional) | |Ship = USS Steampunk (optional) | ||
Line 31: | Line 31: | ||
|Color = Red | |Color = Red | ||
|Rank = Captander | |Rank = Captander | ||
|FirstName = | |FirstName = Benjamin | ||
|LastName = | |LastName = Janeway | ||
|Image = | |Image = None | ||
|Post = Assistant<br>Commanding Officer | |Post = Assistant<br>Commanding Officer | ||
|Ship = USS Shatnerprise | |Ship = USS Shatnerprise |
edits