Difference between revisions of "Template:Infobox astronaut"

From Lafayette Inc Wiki
Jump to navigation Jump to search
(Undo revision 2953 by Lafayette1 (talk))
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
| bodyclass = biography vcard
+
| bodyclass = vcard
| bodystyle  = width:{{#if:{{{box_width|}}}|{{{box_width}}} |22em}}; font-size:95%; text-align:left;
 
| above      = '''{{{name|{{PAGENAME}}}}}'''
 
 
| aboveclass = fn
 
| aboveclass = fn
| abovestyle = text-align:center; font-size:125%;
+
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| image      = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|200px}}]]}}
+
| image      = {{#if:{{{image|}}} | [[Image:{{{image}}}|{{{width|200px}}}]]}}
| imageclass = {{image class names|{{{image}}}}}
+
| caption    = {{{caption|}}}
| imagestyle = padding:4pt; line-height:1.25em; text-align:center; font-size:8pt;
 
| caption    = <div style="padding-top:2pt;">{{{caption|}}}</div>
 
| labelstyle = padding:0.2em 1.0em 0.2em 0.2em; background:transparent; line-height:1.2em; text-align:left; font-size:90%;
 
| datastyle  = padding:0.2em; line-height:1.3em; vertical-align:middle; font-size:90%;
 
  
 
| labelstyle = padding-right:0.65em<!--(to ensure some gap between (long/unwrapped) labels and subsequent data on same line)-->;
 
| labelstyle = padding-right:0.65em<!--(to ensure some gap between (long/unwrapped) labels and subsequent data on same line)-->;
Line 19: Line 13:
 
| label2    = Status
 
| label2    = Status
 
| data2      = {{{status|}}}
 
| data2      = {{{status|}}}
| label3    = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
+
| label3    = Born
| data3      = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}} |{{{birth_date}}}<br />}}{{{birth_place|}}}
+
| data3      = {{{date_birth|}}}{{#if:{{{place_birth|}}}|<br />{{{place_birth}}} }}
 
| label4    = Died
 
| label4    = Died
 
| data4      = {{{date_death|}}}{{#if:{{{place_death|}}}|<br />{{{place_death}}} }}
 
| data4      = {{{date_death|}}}{{#if:{{{place_death|}}}|<br />{{{place_death}}} }}

Revision as of 16:07, 28 July 2015