Template:LCARS-Sidebar: Difference between revisions

Jump to navigation Jump to search
(→‎Examples: adding new pip style to examples)
(adding new color options to font switches)
Line 1: Line 1:
<includeonly>{| class="toc" style="margin: 0 0 0 0;border-radius: 15px 15px 15px 15px;" align="right"
<includeonly>{| class="toc" style="margin: 0 0 0 0;border-radius: 15px 15px 15px 15px;" align="right"
! style="background:#{{#switch: {{{Style|}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{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}}}|FC={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|144px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|144px]]<br>||}}|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}}}|FC={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|144px]]<br>||}}|DS9={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|110px]]<br>||}}|{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]<br>||}}}}{{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}
! style="background:#{{#switch: {{{Style|}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}}; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |<font color={{#switch: {{{Color|}}}| Orange=navy|Gold=navy|Off-White=navy|Lavender=navy|Pink=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|Off-White=black|Lavender=black|Pink=black|White=black|{{{Color|}}}=white||}}>{{{FirstName|}}}{{#if: {{{NickName|}}}|<font> "{{{NickName}}}"</font>||}} {{{LastName|}}}</font>]]<br>{{#switch: {{{Style}}}|FC={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|144px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|144px]]<br>||}}|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|Off-White=black|Lavender=black|Pink=black|White=black|{{{Color|}}}=white||}}>''{{{Ship|}}}''</font>]]<br>||}}{{#switch: {{{Style}}}|FC={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|144px]]<br>||}}|DS9={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|110px]]<br>||}}|{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]<br>||}}}}{{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}
|-
|-
|style="font-size:90%"|
|style="font-size:90%"|
Line 7: Line 7:
|-
|-
! style="background:#{{#switch: {{{Style|}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center"|
! style="background:#{{#switch: {{{Style|}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center"|
[[Template:LCARS-Sidebar|<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:LCARS-Sidebar|<font size=1 color={{#switch: {{{Color|}}}|Orange=black|Gold=black|Off-White=black|Lavender=black|Pink=black|White=black|{{{Color|}}}=white||}}>View Template</font>]]{{#if: {{{UserName|}}}|<br>[[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|Off-White=black|Lavender=black|Pink=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]|}}
|}</includeonly><noinclude>==Directions==
|}</includeonly><noinclude>==Directions==
This is my version of the Sidebar template for characters. For a floating version of this that stays on the side of the  page (useful for loooooong pages) check out [[Template:KolkFI]].
This is my version of the Sidebar template for characters. For a floating version of this that stays on the side of the  page (useful for loooooong pages) check out [[Template:KolkFI]].
Line 129: Line 129:
|Extra = '''Catch Phrase:''' "Bite Me"
|Extra = '''Catch Phrase:''' "Bite Me"
}}{{LCARS-Sidebar
}}{{LCARS-Sidebar
|Color = Red
|Color = Pink
|Rank = Captain
|Rank = Captain
|Style = FC
|Style = FC