Template:LCARS-BioStats: Difference between revisions

fixing image code
(adding variables to example)
(fixing image code)
Line 10: Line 10:
|width="15px" style="background:darkgoldenrod; border:0px solid white"|
|width="15px" style="background:darkgoldenrod; border:0px solid white"|
|width="300px"|<font color=steelblue>'''Full Name:'''</font><font color=white> {{{Name}}}</font><br><font color=steelblue>'''Race:'''</font><font color=white> {{{Race}}}</font><br><font color=steelblue>'''Gender:'''</font><font color=white> {{{Gender}}}</font><br><font color=steelblue>'''D.O.B.:'''</font><font color=white> {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDay}}}</font><br><font color=steelblue>'''Age:'''</font><font color=white> {{Age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDay}}}}}<br><font color=steelblue>'''Rank:'''</font><font color=white> {{{Rank}}}</font><br><font color=steelblue>'''Duty Post:'''</font><font color=white> {{{Post}}}</font><br><font color=steelblue>'''Assignment:'''</font><font color=white> {{{Ship}}}</font>
|width="300px"|<font color=steelblue>'''Full Name:'''</font><font color=white> {{{Name}}}</font><br><font color=steelblue>'''Race:'''</font><font color=white> {{{Race}}}</font><br><font color=steelblue>'''Gender:'''</font><font color=white> {{{Gender}}}</font><br><font color=steelblue>'''D.O.B.:'''</font><font color=white> {{{BirthYear}}}{{{BirthMonth}}}.{{{BirthDay}}}</font><br><font color=steelblue>'''Age:'''</font><font color=white> {{Age|{{{BirthYear}}}|{{{BirthMonth}}}|{{{BirthDay}}}}}<br><font color=steelblue>'''Rank:'''</font><font color=white> {{{Rank}}}</font><br><font color=steelblue>'''Duty Post:'''</font><font color=white> {{{Post}}}</font><br><font color=steelblue>'''Assignment:'''</font><font color=white> {{{Ship}}}</font>
|width="150px"|{{#if: {{{Image|}}}|[[File:{{{Image}}}|150px|right]]||}}
|width="150px"|{{#if: {{{Image|}}}|[[Image:{{{Image}}}{{!}}right{{!}}150px]]||}}|
|width="1px"|
|width="1px"|
|}
|}
8,273

edits