Template:LCARS-Sidebar: Difference between revisions
(correcting) |
(finishing color switch) |
||
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|}}}|FI={{FIBGColor|{{{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}}}}}|DS9={{DefBGColor|{{Color}}}|Slanted={{FIBGColor|{{{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}}}||}} | ||
|- | |- | ||
{{#if: {{{UserName|}}}|! style="background:#{{#switch: {{{Style|}}}|FI={{FIBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center" {{!}} | {{#if: {{{UserName|}}}|! style="background:#{{#switch: {{{Style|}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{Color}}}|Slanted={{FIBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center" {{!}} | ||
[[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]||}} | [[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Orange=black|Gold=black|White=black|{{{Color|}}}=white||}}>User Page</font>]]||}} | ||
|}</includeonly><noinclude>==Directions== | |}</includeonly><noinclude>==Directions== |
Revision as of 21:49, 21 August 2014
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.
It can use any of the major Pips. If you want the "FI" (Future Imperfect) combadge-pips, but you run across a rank I haven't uploaded yet, I do have them (Unfortunately, the creator didn't make Marine ranks, but I've contacted him and requested them, so they may become available in the future.), so just leave a message on my talk page and I'll upload it for you a.s.a.p. I'm on the wiki almost every day.
To use the template, type the following on the top of your character page:
{{LCARS-Sidebar |Color = Color (use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White) |Rank = Rank (optional: if blank, defaults to Civilian pips with no title atop) |Style = Pip Style (use DS9, STO, FI, Slanted, or leave blank for default) |FirstName = Jane |NickName = Janey (optional) |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 |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.
Examples
{{#if: Feel Bad|! style="background:#e6e6e6FI=e6e6e6|STO=e6e6e6|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Lieutenant Feel Bad USS Outaluck | |
---|---|
FI=a0a0b8|STO=a0a0b8|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Lt. Commander Farmer USS Dell | |
---|---|
FI=454545|STO=454545|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Commander James Bond MI-6 | |
---|---|
From Earth With Love |
FI=b800b8|STO=b800b8|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Unknown "Bob" | |
---|---|
Species: Romulan |
FI=0000cc|STO=0000cc|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Commander Spock USS Shatnerprise NCC-1701 | |
---|---|
|
FI=007acc|STO=007acc|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Cat USS Targ | |
---|---|
FI=008f00|STO=008f00|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Colonel Meathead Marine | |
---|---|
FI=e89619|STO=e89619|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Captain James T. Picard USS Enterprise NCC-1701(-A/B/C/D/E)? | |
---|---|
|
FI=cc5200|STO=cc5200|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Orange Fruit USS Kitchen | |
---|---|
Catch Phrase: "Bite Me" |
FI=b20000|STO=b20000|DS9=b20000; width:150px; border-radius: 15px 15px 0px 0px;" align="center" |Captain L. I. Talaka | |
---|---|
|