Difference between revisions of "Template:Infobox astronaut"
Jump to navigation
Jump to search
Lafayette1 (talk | contribs) (Undo revision 2949 by Lafayette1 (talk)) |
Lafayette1 (talk | contribs) |
||
Line 1: | Line 1: | ||
{{ infobox | {{ infobox | ||
− | | bodyclass = vcard | + | | bodyclass = biography 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%; |
− | | image = {{#if:{{{image|}}} | [[Image:{{{image}}}|{{{ | + | | image = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|200px}}]]}} |
− | | caption = {{{caption|}}} | + | | imageclass = {{image class names|{{{image}}}}} |
+ | | 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 13: | Line 19: | ||
| label2 = Status | | label2 = Status | ||
| data2 = {{{status|}}} | | data2 = {{{status|}}} | ||
− | | label3 = Born | + | | label3 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}} |
− | | data3 = {{{ | + | | data3 = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}} |{{{birth_date}}}<br />}}{{{birth_place|}}} |
| 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:05, 28 July 2015
Infobox astronaut |