Difference between revisions of "Template:Infobox astronaut"

From Lafayette Inc Wiki
Jump to navigation Jump to search
(Undo revision 2949 by Lafayette1 (talk))
Line 1: Line 1:
−
{{Infobox
+
{{ infobox
−
| child      = {{{child|}}}
+
| bodyclass = vcard
−
| bodyclass = vcard
 
−
 
 
 
| aboveclass = fn
 
| aboveclass = fn
−
| above      = {{{name|{{#ifeq:{{BASEPAGENAME}}|Infobox astronaut | |{{PAGENAMEBASE}}}}}}}
+
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
−
 
+
| image      = {{#if:{{{image|}}} | [[Image:{{{image}}}|{{{width|200px}}}]]}}
−
| image      = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless|upright=1 |alt={{{alt|}}} }}
 
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
 
| 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)-->;
−
 
 
| class1    = role
 
| class1    = role
−
| header1    = {{{type|}}}
+
| header1    = {{#if:{{{type|}}}|<span class="role">{{{type}}}</span>}}
−
 
+
| label1     = Nationality
−
| label2    = {{longitem|Native name}}
+
| data1     = {{{nationality|}}}
−
| data2      = {{#if:{{{native_name|}}} |<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{Check ISO 639-1|{{{native_name_lang}}}}}"}}>{{{native_name}}}</span>}}
+
| label2     = Status
−
 
+
| data2     = {{{status|}}}
−
| label3     = Nationality
+
| label3     = Born
−
| data3     = {{{nationality|}}}
+
| data3     = {{{date_birth|}}}{{#if:{{{place_birth|}}}|<br />{{{place_birth}}} }}
−
 
+
| label4     = Died
−
| label4     = Status
+
| data4     = {{{date_death|}}}{{#if:{{{place_death|}}}|<br />{{{place_death}}} }}
−
| class4    = category
+
| label5     = Other occupation
−
| data4     = {{{status|}}}
+
| data5     = {{{occupation|}}}
−
 
+
| label6    = Current occupation
−
| label5     = Born
+
| data6      = {{{current_occupation|}}}
−
| data5     = {{Br separated entries |{{{birth_name|}}} |{{{birth_date|}}} |{{{birth_place|}}} }}
+
| label7    = Previous occupation
−
 
+
| data7      = {{{previous_occupation|}}}
−
| label6    = Died
+
| label8     = Rank
−
| data6      = {{Br separated entries |{{{death_date|}}} |{{{death_place|}}} }}
+
| data8      = {{{rank|}}}
−
 
+
| label9    = Time in space
−
| label7     = {{longitem|Resting place}}
+
| data9      = {{{time|}}}
−
| data7     = {{Br separated entries |{{{resting_place|}}} |{{#if:{{{resting_place_coordinates|}}}|{{{resting_place_coordinates}}}|{{{resting_place_coords|}}}}} }}
+
| label10   = Selection
−
 
+
| data10     = {{{selection|}}}
−
| label8     = {{longitem|Other names}}
+
| label11   = Missions
−
| class8    = nickname
+
| data11     = {{{mission|}}}
−
| data8      = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
+
| label12   = Mission insignia
−
 
+
| data12     = {{{insignia|}}}
−
| label9    = {{longitem|Other occupation}}
+
| label13   = Retirement
−
| class9    = role
+
| data13     = {{{Date of ret|}}}
−
| data9     = {{{occupation|}}}
+
| label14   = Awards
−
 
+
| data14     = {{{awards|}}}
−
| label10    = {{longitem|Current occupation}}
 
−
| class10    = role
 
−
| data10    = {{{current_occupation|}}}
 
−
 
 
−
| label11    = {{longitem|Previous occupation}}
 
−
| class11    = role
 
−
| data11    = {{{previous_occupation|}}}
 
−
 
 
−
| label12    = {{longitem|''[[Alma mater|{{allow wrap|Alma mater}}]]''}}
 
−
| data12     = {{{alma_mater|}}}
 
−
 
 
−
| label13    = Rank
 
−
| class13    = title
 
−
| data13    = {{{rank|}}}
 
−
 
 
−
| rowclass14 = note
 
−
| label14    = {{longitem|Time in space}}
 
−
| data14    = {{#if:{{{time|}}}|{{{time}}}|{{{space_time|}}}}}
 
−
 
 
−
| label15   = Selection
 
−
| data15     = {{{selection|}}}
 
−
 
 
−
| label16    = {{longitem|Total [[Extra-vehicular activity|EVA]]s}}
 
−
| data16    = {{#if:{{{eva1|}}}|{{{eva1}}}|{{{evas|}}}}}
 
−
 
 
−
| label17    = {{longitem|Total EVA time}}
 
−
| data17    = {{#if:{{{eva2|}}}|{{{eva2}}}|{{{eva_time|}}}}}
 
−
 
 
−
| label18   = Missions
 
−
| data18     = {{#if:{{{mission|}}}|{{{mission}}}|{{{missions|}}}}}
 
−
 
 
−
| label19   = {{longitem|Mission insignia}}
 
−
| data19     = {{{insignia|}}}
 
−
 
 
−
| label20   = Retirement
 
−
| data20     = {{#if:{{{Date of ret|}}}|{{{Date of ret}}}|{{{retirement|}}}}}
 
−
 
 
−
| label21   = Awards
 
−
| data21     = {{{awards|}}}
 
−
 
 
−
| label22    = Memorials
 
−
| data22    = {{{memorials|}}}
 
−
 
 
−
| label23    = Website
 
−
| data23    = {{{url|{{{website|}}}}}}
 
−
 
 
−
| data24    = {{{module|}}}
 
  
 
}}
 
}}

Revision as of 15:46, 28 July 2015