8,273
edits
(changing example to test color switch) |
(applying switch to bottom) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="TOCfixed" style="margin: 0 0 0 0;border-radius: 15px 15px 15px 15px;" align="right" | <includeonly>{| class="TOCfixed" style="margin: 0 0 0 0;border-radius: 15px 15px 15px 15px;" align="right" | ||
! style="background:#{{#switch: {{{Style|}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{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:#{{#switch: {{{Style|}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{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="font-size: 90%" | | ||
Line 6: | Line 6: | ||
<br>'''Birth Place:''' {{{BirthPlace}}}||}} | <br>'''Birth Place:''' {{{BirthPlace}}}||}} | ||
|- | |- | ||
! style="background:#{{# | ! style="background:#{{#switch: {{{Style|}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center"| | ||
[[Template:KolkFI|<font size=1 color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>View Template</font>]]{{#if: {{{UserName|}}}|<br>[[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]|}} | [[Template:KolkFI|<font size=1 color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>View Template</font>]]{{#if: {{{UserName|}}}|<br>[[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]|}} | ||
|}</includeonly> | |}</includeonly> | ||
Line 41: | Line 41: | ||
Example: See floating sidebar | Example: See floating sidebar | ||
{{KolkFI | {{KolkFI | ||
|Color= | |Color=Black | ||
|Style= | |Style=STO | ||
|Rank=Commander | |Rank=Commander | ||
|FirstName=James | |FirstName=James |
edits