Template:LCARS-Sidebar: Difference between revisions
(missed a spot) |
(→Examples: cropping closer) |
||
(143 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{|border='0' align="right" | ||
! style="background:#{{FIBGColor|{{{Color}}}}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color=#efe576>{{{Rank|}}}<br>[[{{{LastName|}}}, {{{FirstName|}}}|<font color=white>{{{FirstName|}}} {{{LastName|}}}</font>]]<br>{{#if: {{{Image|}}}|[[Image:{{{Image}}}| | |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%"| | |||
{{{Extra|}}} | {{{Extra|}}}{{#if: {{{Species|}}}|{{#if: {{{Extra|}}}|<br>|}}'''Species:''' {{{Species}}}||}}{{#if: {{{Gender|}}}|<br>'''Gender:''' {{{Gender}}}||}}{{#if: {{{BirthYear|}}}|<br>'''Born:''' {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}<br>'''Age:''' {{Age|{{{BirthYear|}}}|{{{BirthMonth|}}}|{{{BirthDate|}}}}}||}}{{#if: {{{BirthPlace|}}}| | ||
<br>'''Birth Place:''' {{{BirthPlace}}}||}} | |||
|- | |- | ||
!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"| | |||
{{#if: {{{UserName|}}}|[[User:{{{UserName}}}|<font color=white>User Page</font>]]| | [[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> | |} | ||
|}</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]]. | |||
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 [[User talk:Jackford B. Kolk|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: | To use the template, type the following on the top of your character page: | ||
<pre>{{LCARS-Sidebar | <pre>{{LCARS-Sidebar | ||
|Color = Color (use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or | |Color = Color (use Maroon, Red, Orange, Gold, Olive, Green, Teal, Blue, | ||
|Rank = Rank | \-> 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) | |Style = Pip Style (use DS9, STO, FI, Slanted, or leave blank for default) | ||
|FirstName = Jane | |FirstName = Jane | ||
|NickName = Janey (optional) | |||
|LastName = Doe (optional) | |LastName = Doe (optional) | ||
|Image = Filename.jpg (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 | |Post = Captain's Pet | ||
|Ship = USS Steampunk (optional) | |Ship = USS Steampunk (optional) | ||
Line 24: | Line 35: | ||
|ShipReg = NCC-ID10T (optional) | |ShipReg = NCC-ID10T (optional) | ||
|UserName = Jane Doe (optional | |UserName = Jane Doe (optional | ||
|Extra = *Whatever You Want (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) | |||
}}</pre> | }}</pre> | ||
Examples | 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== | |||
{{LCARS-Sidebar | {{LCARS-Sidebar | ||
|Color = | |Style = FC | ||
|Rank = | |Color = Off-White | ||
|Rank = Lt. Commander | |||
|FirstName = Stooge | |||
}}{{LCARS-Sidebar | |||
|Rank = Commander | |||
|Color = White | |||
|Style = FC | |||
|FirstName = Feel | |||
|LastName = Bad | |||
|Post = Morale Officer | |||
|Ship = USS Outaluck | |||
|UserName = Feel Bad | |||
}}{{LCARS-Sidebar | |||
|Color = Silver | |||
|Style = FI | |||
|Rank = Lt. Commander | |||
|FirstName = Farmer | |||
|Post = Agricultural Officer | |||
|Ship = USS Dell | |||
|UserName = Farmer | |||
}}{{LCARS-Sidebar | |||
|Style = DS9 | |Style = DS9 | ||
|FirstName = | |Color = Black | ||
|LastName = | |Rank = Commander | ||
|Image = | |FirstName = James | ||
|Post = | |LastName = Bond | ||
|Ship = USS | |Post = 007 | ||
| | |Ship = MI-6 | ||
| | |Extra = '''From Earth With Love''' | ||
|Extra = * | }}{{LCARS-Sidebar | ||
** | |Style = FC | ||
|Color = Brown | |||
|Rank = Ensign | |||
|FirstName = Larry | |||
}}{{LCARS-Sidebar | |||
|Style = FC | |||
|Color = Dust | |||
|Rank = Lieutenant J.G. | |||
|FirstName = Moe | |||
}}{{LCARS-Sidebar | |||
|Style = FC | |||
|Color = Pink | |||
|Rank = Lieutenant | |||
|FirstName = Curly | |||
}}{{LCARS-Sidebar | |||
|Rank = Ambassador | |||
|Style = FC | |||
|Color = Maroon | |||
|FirstName=Neelix | |||
|Post=Morale Officer & Cook | |||
|Ship=USS Voyager | |||
}}{{LCARS-Sidebar | |||
|Color = Violet | |||
|FirstName = Unknown | |||
|DisplayName = Bob | |||
|Image = None | |||
|Ship = Lost Shuttle | |||
|Species = Romulan | |||
|Gender = Male | |||
|BirthYear = 2211 | |||
|BirthMonth = 09 | |||
|BirthDate = 30 | |||
|BirthPlace = Remus | |||
|UserName = Bob | |||
}}{{LCARS-Sidebar | |||
|Style = FC | |||
|Color = Lavender | |||
|Rank = Chief Warrant Officer Fourth Grade | |||
|FirstName = Lavender | |||
|LastName = Baby! | |||
}}{{LCARS-Sidebar | |||
|Style = FC | |||
|Color = Navy | |||
|Rank = Lieutenant | |||
|FirstName = Blue | |||
|LastName = Blood | |||
}}{{LCARS-Sidebar | |||
|Color = Blue | |||
|Rank = Commander | |||
|Style = TOS | |||
|FirstName = Spock | |||
|Image = Spock-n-Cat.jpg | |||
|Post = First Officer | |||
|Ship = USS Shatnerprise | |||
|ShipImage = Constitution.jpg | |||
|ShipReg = NCC-1701 | |||
|UserName = Spock | |||
|Extra = *'''Logic is the<br>Beginning of<br>Wisdom''' | |||
**IDIC Means Cats<br>Are Awesome | |||
}}{{LCARS-Sidebar | |||
|Color = Teal | |||
|Rank = Crewman Third Class | |||
|Style = FC | |||
|FirstName = Cat | |||
|ImageCrop = {{Crop|Spock-n-Cat.jpg|144|50|70}} | |||
|Post = First Officer's Pet | |||
|Ship = USS Targ | |||
|UserName = Cat | |||
}}{{LCARS-Sidebar | |||
|Color = Green | |||
|Style = STO | |||
|Rank = Colonel | |||
|FirstName = Meathead | |||
|LastName = Marine | |||
|Image = None | |||
|Ship = USS WeKillStuff | |||
|UserName = Meathead | |||
}}{{LCARS-Sidebar | |||
|Style = FC | |||
|Color = Olive | |||
|Rank = Major | |||
|FirstName = Monty | |||
|LastName = Python | |||
|Station=Soft Cushions! | |||
|Extra= | |||
*'''''Nemo Interrogationem<br>Hispanem exspectat!''''' | |||
**(i.e. "Nobody expects the<br>Spanish Inquisition!"<br>in the original Latin) | |||
}}{{LCARS-Sidebar | }}{{LCARS-Sidebar | ||
|Color = Gold | |Color = Gold | ||
|Style = TOS | |||
|Rank = Captain | |Rank = Captain | ||
|FirstName = James T. | |FirstName = James T. | ||
Line 50: | Line 175: | ||
|Post = Commanding Officer | |Post = Commanding Officer | ||
|Ship = USS Enterprise | |Ship = USS Enterprise | ||
|ShipImage = | |ShipImage = Enterprise.jpg | ||
|ShipReg = NCC-1701(-D/E)? | |ShipReg = NCC-1701(-A/B/C/D/E)? | ||
|UserName = Kirk | |UserName = Kirk | ||
|Extra = *Living Legend | |Extra = *'''Living Legend''' | ||
**Who Am I? | **Who Am I? | ||
}}{{LCARS-Sidebar | }}{{LCARS-Sidebar | ||
|Color = | |Color = Orange | ||
|Rank = | |Rank = Chief Warrant Officer Second Grade | ||
|Style = | |Style = FC | ||
|FirstName = | |FirstName = Orange | ||
| | |LastName = Fruit | ||
|Post = | |Post = Chief Edibles Officer | ||
|Ship = USS | |Ship = USS Kitchen | ||
|Extra = '''Catch Phrase:''' "Bite Me" | |||
|Extra = | |||
}}{{LCARS-Sidebar | }}{{LCARS-Sidebar | ||
|Color = | |Color = Red | ||
|Rank = | |Rank = Captain | ||
|Style = | |Style = FC | ||
|FirstName = | |FirstName = L. I. | ||
|LastName = | |LastName = Talaka | ||
|Image = | |Image = LITalaka.png | ||
|Ship = USS Lantree | |||
|Ship = USS | |ShipImage = USS Lantree.jpg | ||
|ShipImage = | |Extra = *'''Floating Dead''' | ||
| | **I Get Killed<br>by Genetic Freaks | ||
}} | }} | ||
[[Category:Kolk]] | [[Category:Kolk]] | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|