Template:LCARS-Sidebar: Difference between revisions

that worked... except for the extra line breaks...
(simplifying ifs)
(that worked... except for the extra line breaks...)
Line 3: Line 3:
|-
|-
| style="font-size: 90%" |
| style="font-size: 90%" |
{{{Extra|}}}
{{{Extra|}}}{{#if: {{{Species|}}}|'''Species:'''{{{Species}}}<br>||}}{{#if: {{{Gender|}}}|'''Gender:'''{{{Gender}}}<br>||}}{{#if: {{{BirthYear|}}}|'''Born:'''{{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}<br>'''Age:'''{{Age|{{{BirthYear|}}}|{{{BirthMonth|}}}|{{{BirthDate|}}}}}<br>||}}{{#if: {{{BirthPlace|}}}|'''BirthPlace:'''{{{BirthPlace}}}<br>||}}
{{#if: {{{Species|}}}|'''Species:'''{{{Species}}}<br>||}}
{{#if: {{{Gender|}}}|'''Gender:'''{{{Gender}}}<br>||}}
{{#if: {{{BirthYear|}}}|'''Born:'''{{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDate}}}<br>'''Age:'''{{Age|{{{BirthYear|}}}|{{{BirthMonth|}}}|{{{BirthDate|}}}}}<br>||}}
{{#if: {{{BirthPlace|}}}|'''BirthPlace:'''{{{BirthPlace}}}<br>||}}
|-
|-
{{#if: {{{UserName|}}}|! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center" {{!}}
{{#if: {{{UserName|}}}|! style="background:#{{#if: {{{Style|}}}|{{FIBGColor|{{{Color}}}}}|{{DefBGColor|{{{Color}}}}}|}};border-radius: 0px 0px 15px 15px; font-size: 80%" align="center" {{!}}
Line 43: Line 39:
|FirstName = Bob the
|FirstName = Bob the
|LastName = Romulan
|LastName = Romulan
|Image = None
|Ship = Lost Shuttle
|Species = Romulan
|Species = Romulan
|Gender = Male
|Gender = Male
8,273

edits