Template:LCARS-StarfleetID: Difference between revisions
(Def -> FC BG Color) |
(adding thumbnail text option) |
||
Line 9: | Line 9: | ||
|width="30px" style="background:#{{FCBGColor|{{{Color}}}}}; border:0px solid white"| | |width="30px" style="background:#{{FCBGColor|{{{Color}}}}}; border:0px solid white"| | ||
|width="{{#if: {{{Image|}}}|340|640}}px" style="max-width:{{#if: {{{Image|}}}|340|640}}px"|<font color=blue>'''Full Name:'''</font><font color=black> {{{Name}}}</font>{{#if: {{{MaidenName|}}}|<br><font color=blue>'''Maiden Name:'''</font><font color=black> {{{MaidenName}}}</font>||}}{{#if: {{{Nickname|}}}|<br><font color=blue>'''Nickname(s):'''</font><font color=black> {{{Nickname}}}</font>||}}<br><font color=blue>'''Race:'''</font> [[{{{Race}}}|<font color=black>{{{Race}}}</font>]]<br><font color=blue>'''Gender:'''</font><font color=black> {{{Gender}}}</font><br><font color=blue>'''Date of Birth:'''</font>{{#if: {{{BirthNote|}}}|<font color=black> {{{BirthNote}}}</font>|<font color=black> {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDay}}}</font>}}<br><font color=blue>'''Age:'''</font>{{#if: {{{BirthDay|}}}|<font color=black> {{Age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDay}}}}}|<font color=black> Unknown}}<br><font color=blue>'''Place of Birth:'''</font><font color=black> {{{BirthPlace}}}</font>{{#if: {{{TeleRating|}}}|<br>'''[[T/E Rating System|<font color=blue>Telepathy Rating:</font>]]'''<font color=black> {{{TeleRating}}}</font>||}}<br><font color=blue>'''Rank:'''</font><font color=black> {{{Rank}}}</font>{{#if: {{{Post|}}}|<br><font color=blue>'''Duty Post:'''</font><font color=black> {{{Post}}}</font>|}}{{#if: {{{Ship|}}}|<br><font color=blue>'''Assignment:'''</font><font color=black> [[{{{Ship}}}|''{{#if:{{{ShipNick|}}}|{{{ShipNick}}}|{{{Ship}}}}}'']]</font>{{#if: {{{ShipReg|}}}|<font color=black> {{{ShipReg}}}</font>||}}||}}{{#if: {{{Location|}}}|<br><font color=blue>'''Location:'''</font><font color=black> {{{Location}}}</font>||}}{{#if: {{{Image|}}}|<br> | |width="{{#if: {{{Image|}}}|340|640}}px" style="max-width:{{#if: {{{Image|}}}|340|640}}px"|<font color=blue>'''Full Name:'''</font><font color=black> {{{Name}}}</font>{{#if: {{{MaidenName|}}}|<br><font color=blue>'''Maiden Name:'''</font><font color=black> {{{MaidenName}}}</font>||}}{{#if: {{{Nickname|}}}|<br><font color=blue>'''Nickname(s):'''</font><font color=black> {{{Nickname}}}</font>||}}<br><font color=blue>'''Race:'''</font> [[{{{Race}}}|<font color=black>{{{Race}}}</font>]]<br><font color=blue>'''Gender:'''</font><font color=black> {{{Gender}}}</font><br><font color=blue>'''Date of Birth:'''</font>{{#if: {{{BirthNote|}}}|<font color=black> {{{BirthNote}}}</font>|<font color=black> {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDay}}}</font>}}<br><font color=blue>'''Age:'''</font>{{#if: {{{BirthDay|}}}|<font color=black> {{Age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDay}}}}}|<font color=black> Unknown}}<br><font color=blue>'''Place of Birth:'''</font><font color=black> {{{BirthPlace}}}</font>{{#if: {{{TeleRating|}}}|<br>'''[[T/E Rating System|<font color=blue>Telepathy Rating:</font>]]'''<font color=black> {{{TeleRating}}}</font>||}}<br><font color=blue>'''Rank:'''</font><font color=black> {{{Rank}}}</font>{{#if: {{{Post|}}}|<br><font color=blue>'''Duty Post:'''</font><font color=black> {{{Post}}}</font>|}}{{#if: {{{Ship|}}}|<br><font color=blue>'''Assignment:'''</font><font color=black> [[{{{Ship}}}|''{{#if:{{{ShipNick|}}}|{{{ShipNick}}}|{{{Ship}}}}}'']]</font>{{#if: {{{ShipReg|}}}|<font color=black> {{{ShipReg}}}</font>||}}||}}{{#if: {{{Location|}}}|<br><font color=blue>'''Location:'''</font><font color=black> {{{Location}}}</font>||}}{{#if: {{{Image|}}}|<br> | ||
{{!}}width="300px" style="max-width:300px"{{!}}[[Image:{{{Image}}}{{!}}thumb]]||}} | {{!}}width="300px" style="max-width:300px"{{!}}[[Image:{{{Image}}}{{!}}thumb{{#if: {{{IMageNote|}}}|{{!}}{{{ImageNote}}}|}}]]||}} | ||
|width="30px" style="background:#{{FCBGColor|{{{Color}}}}}; border:0px solid white"| | |width="30px" style="background:#{{FCBGColor|{{{Color}}}}}; border:0px solid white"| | ||
|} | |} |
Revision as of 18:53, 3 September 2014
Example
|
Directions
This template is part of a set of three. The other two are Template:LCARS-BioStats and Template:LCARS-Family. To use all three in one template, see Template:LCARS-PersonnelFile. To use this one on Bio pages, type the following wherever you want the desired LCARS to show. To assign yourself an ID/Serial Number, click on the blue links of the same name in the example template's border; it will lead you to the related page.
For convenience, the top list is the bare minimum list a variables needed to use the template. Below it, you will find the complete list of working variables.
{{LCARS-StarfleetID |Color = (Use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White - defaults to Red) |Name = |Race = |Gender = |BirthYear = |BirthMonth = |BirthDay = |BirthPlace = |Rank = |IDNumber = (Serial Number) }}
The following is the conplete list of working variables. After copying, feel free to delete any variables that you don't plan on including. If there's anything that you want available on this template but it's not shown here, just leave a message on my talk page and I'll do my best to add it right away. Thanks for using my template!
{{LCARS-StarfleetID |Color = (Use Red, Orange, Gold, Green, Teal, Blue, Violet, Black, Silver, or White - defaults to Red) |Name = |MaidenName = (optional) |Nickname = (optional) |Race = |Gender = |BirthYear = |BirthMonth = |BirthDay = |BirthPlace = |TeleRating = T0/E0 (optional - Telepathy/Empathy Rating for those to whom it applies) |Rank = |Post = (optional) |Ship = (optional) |Location = (optional) |IDNumber = }}