Template:KolkFI: Difference between revisions
Jump to navigation
Jump to search
(switching example to FC Pips) |
m (spaces) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="TOCfixed" style="margin: 0 0 0 0;border-radius: 15px 15px 15px 15px;" align="right" | <includeonly>{|class="TOCfixed" border='0' 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|Off-White=navy|Pink=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|Off-White=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|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="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|Pink=navy|White=steelblue|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|Off-White=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|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 6: | Line 6: | ||
<br>'''Birth Place:''' {{{BirthPlace}}}||}} | <br>'''Birth Place:''' {{{BirthPlace}}}||}} | ||
|- | |- | ||
! 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|Off-White=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|Pink=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]|}} | [[Template:LCARS-Sidebar|<font size=1 color={{#switch: {{{Color|}}}|Orange=black|Gold=black|Off-White=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|Pink=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]|}} | ||
|}</includeonly> | |}</includeonly> |
Revision as of 09:47, 1 September 2014
KolkFI - Kolk's Floating Infobar!
This is my fixed-vertical version of Template:LCARS-Sidebar, which I created for characters. It is identical (or at least I try to keep it that way) except that it stays in the middle of the right side no matter how far down you scroll.
To use this fixed template, type the following anywhere on your character page:
{{KolkFI |Color = Color (use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White) |Rank = Rank (optional - defaults to civilian, but then not written atop) |Style = Pip Style (use DS9, STO, FI, Slanted, or leave blank for default) |FirstName = Jane |NickName = Janey |LastName = Doe (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) |Ship = USS Steampunk (optional) |ShipImage = FileName.jpg (optional) |ShipReg = NCC-ID10T (optional) |UserName = Jane Doe (optional) |Extra = *Whatever You Want (optional) |Species = Zakdorn (optional) |Gender = Male (optional) |BirthYear = 2377 (optional) |BirthMonth = 04 (optional) |BirthDate = 12 (optional) |BirthPlace = Space, the Final Frontier (optional) }}
Any optional variables (Species, Gender, Ship, etc.) that you don't want to use can just be left out, as in don't even bother including them; they're extraneous.
Example: See floating sidebar
Commander James Bond MI-6 | |
---|---|
From Earth With Love | |