Template:LCARS-Sidebar: Difference between revisions
(adding TOS to color switch) |
(→Examples: cropping closer) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{|border='0' align="right" | ||
!style="background:#{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|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|}}}|Gold= | |style="border:thin #{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|FC={{FCBGColor|{{{Color}}}}}|FI={{FIBGColor|{{{Color}}}}}|STO={{FIBGColor|{{{Color}}}}}|Slanted={{FIBGColor|{{{Color}}}}}|DS9={{DefBGColor|{{{Color}}}}}|{{{Style}}}={{DefBGColor|{{{Color}}}}}|={{DefBGColor|{{{Color}}}}}|}} solid; border-radius:18px 18px 18px 18px"| | ||
{| | |||
!style="background:#{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|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|}}}|Gold=black|Silver=black|Off-White=black|Pink=black|White=black|{{{Color|}}}=#efe576||}}>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{#if: {{{LastName|}}}|{{{LastName}}},|}} {{{FirstName|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>{{#if: {{{DisplayName|}}}|{{{DisplayName}}}|{{{FirstName|}}}{{#if: {{{NickName|}}}|<font> "{{{NickName}}}"</font>||}} {{{LastName|}}}}}</font>]]<br>{{#if: {{{ImageCrop|}}}|<center>{{{ImageCrop|}}}</center>|{{#switch: {{{Style}}}|TOS={{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|100px]]<br>|{{{Image|}}}=[[Image:{{{Image}}}|100px]]<br>||}}|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: {{{Station|}}}|[[{{{Station|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>{{{Station|}}}</font>]]<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>''{{{Ship|}}}''</font>]]<br>||}}{{#switch: {{{Style}}}|TOS={{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|100px]]<br>||}}|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 9: | ||
|- | |- | ||
!style="background:#{{#switch: {{{Style|}}}|TOS={{TOSBGColor|{{{Color}}}}}|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|}}}|TOS={{TOSBGColor|{{{Color}}}}}|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|}}}|Gold= | [[Template:LCARS-Sidebar|<font size=1 color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>View Template</font>]]{{#if: {{{UserName|}}}|<br>[[User:{{{UserName}}}|<font color={{#switch: {{{Color|}}}|Gold=navy|Silver=navy|Pink=navy|Off-White=navy|White=navy|{{{Color|}}}=white||}}>User Page</font>]]|}} | ||
|} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Directions== | ==Directions== | ||
Line 23: | Line 26: | ||
|NickName = Janey (optional) | |NickName = Janey (optional) | ||
|LastName = Doe (optional) | |LastName = Doe (optional) | ||
|Image = Filename.jpg (optional - Type None if you want a place-keeping image [see example], | |Image = Filename.jpg/.png (optional - Type None if you want a place-keeping image [see example], | ||
\-> don't include if you want no image at all) | \-> don't include if you want no image at all) | ||
|ImageCrop = {{Crop|Filename.jpg/.png|new width|new height|vertical position adjustment|horizontal position adjustment|zoom|link=}} (optional - don't include unless you need to crop your | |||
\-> image, in which case do not use the above "|Image =" line) | |||
|Post = Captain's Pet | |Post = Captain's Pet | ||
|Ship = USS Steampunk (optional) | |Ship = USS Steampunk (optional) | ||
Line 118: | Line 123: | ||
|Color = Navy | |Color = Navy | ||
|Rank = Lieutenant | |Rank = Lieutenant | ||
|FirstName = | |FirstName = Blue | ||
|LastName = | |LastName = Blood | ||
}}{{LCARS-Sidebar | }}{{LCARS-Sidebar | ||
|Color = Blue | |Color = Blue | ||
|Rank = Commander | |Rank = Commander | ||
|Style = | |Style = TOS | ||
|FirstName = Spock | |FirstName = Spock | ||
|Image = Spock-n-Cat.jpg | |Image = Spock-n-Cat.jpg | ||
Line 138: | Line 143: | ||
|Style = FC | |Style = FC | ||
|FirstName = Cat | |FirstName = Cat | ||
|Post = | |ImageCrop = {{Crop|Spock-n-Cat.jpg|144|50|70}} | ||
|Post = First Officer's Pet | |||
|Ship = USS Targ | |Ship = USS Targ | ||
|UserName = Cat | |UserName = Cat | ||
Line 162: | Line 168: | ||
}}{{LCARS-Sidebar | }}{{LCARS-Sidebar | ||
|Color = Gold | |Color = Gold | ||
|Style = TOS | |||
|Rank = Captain | |Rank = Captain | ||
|FirstName = James T. | |FirstName = James T. |
Latest revision as of 15:39, 25 November 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 Maroon, Red, Orange, Gold, Olive, Green, Teal, Blue, \-> Navy, Violet, Black, Silver, Off-White, White, Pink, Dust, or Brown) |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/.png (optional - Type None if you want a place-keeping image [see example], \-> don't include if you want no image at all) |ImageCrop = {{Crop|Filename.jpg/.png|new width|new height|vertical position adjustment|horizontal position adjustment|zoom|link=}} (optional - don't include unless you need to crop your \-> image, in which case do not use the above "|Image =" line) |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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|