Template:LCARS-Sidebar: Difference between revisions
Jump to navigation
Jump to search
(forgot one {{!}}) |
(adding new switch to make filler image optional) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="toc colour" style="margin: 0 0 1em 1em;border-radius: 15px 15px 15px 15px;" align="right" | <includeonly>{| class="toc colour" style="margin: 0 0 1em 1em;border-radius: 15px 15px 15px 15px;" align="right" | ||
! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color=#efe576>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color=white>{{{FirstName|}}} {{{LastName|}}}</font>]]<br>{{# | ! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};width:150px;border-radius: 15px 15px 0px 0px;" align="center" |<font color=#efe576>{{#if: {{{Rank|}}}|{{{Rank|}}}<br>||}}[[{{{LastName|}}}, {{{FirstName|}}}|<font color=white>{{{FirstName|}}} {{{LastName|}}}</font>]]<br>{{#switch: {{{Image}}}|None=[[Image:Roster-blank.jpg|120px]]|{{{Image|}}}=[[Image:{{{Image}}}|120px]]||}}{{Pip120|{{#if: {{{Rank|}}}|{{{Rank|}}}|Civilian|}}|{{{Color|}}}|{{#if: {{{Style|}}}|{{{Style|}}}||}}}}{{#if: {{{Post|}}}|{{{Post|}}}<br>||}}{{#if: {{{Ship|}}}|[[{{{Ship|}}}|<font color=white>''{{{Ship|}}}''</font>]]<br>{{#if: {{{ShipImage|}}}|[[Image:{{{ShipImage}}}|120px]]<br>||}}{{#if: {{{ShipReg|}}}|{{{ShipReg|}}}||}}||}}</font> | ||
|- | |- | ||
| style="font-size: 90%" | | | style="font-size: 90%" | | ||
Line 18: | Line 18: | ||
|FirstName = Jane | |FirstName = Jane | ||
|LastName = Doe (optional) | |LastName = Doe (optional) | ||
|Image = Filename.jpg (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 | |Post = Captain's Pet | ||
|Ship = USS Steampunk (optional) | |Ship = USS Steampunk (optional) | ||
Line 45: | Line 46: | ||
|FirstName = James T. | |FirstName = James T. | ||
|LastName = Picard | |LastName = Picard | ||
|Post = Commanding Officer | |Post = Commanding Officer | ||
|Ship = USS Enterprise | |Ship = USS Enterprise | ||
Line 71: | Line 71: | ||
|FirstName = Jane | |FirstName = Jane | ||
|LastName = Doe | |LastName = Doe | ||
|Image = | |Image = None | ||
|Post = Captain's Pet | |Post = Captain's Pet | ||
|Ship = USS Steampunk | |Ship = USS Steampunk |
Revision as of 16:35, 7 August 2014
This is my version of the Sidebar template for characters. 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 |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) **Point A }}
Examples:
Captain L. I. Talaka | |
---|---|
|
Captain James T. Picard USS Enterprise NCC-1701(-D/E)? | |
---|---|
| |
Commander Spock USS Shatnerprise NCC-1701 | |
---|---|
| |
Jane Doe USS Steampunk | |
---|---|