Difference between revisions of "Template:Infobox astronaut"

From Lafayette Inc Wiki
Jump to navigation Jump to search
(New page: {{ infobox | bodyclass = vcard | aboveclass = fn | above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | image = {{#if:{{{image|}}} | [[Image:{{{image}}}|{{{width|200px}}}...)
 
Line 1: Line 1:
{{ infobox
+
{{Infobox
| bodyclass = vcard
+
| child      = {{{child|}}}
 +
| bodyclass = vcard
 +
 
 
| aboveclass = fn
 
| aboveclass = fn
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| above      = {{{name|{{#ifeq:{{BASEPAGENAME}}|Infobox astronaut | |{{PAGENAMEBASE}}}}}}}
| 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|}}}
  
| header1    = {{#if:{{{type|}}}|<span class="role">{{{type}}}</span>}}
+
| labelstyle = padding-right:0.65em<!--(to ensure some gap between (long/unwrapped) labels and subsequent data on same line)-->;
 +
 
 +
| class1    = role
 +
| header1    = {{{type|}}}
 +
 
 +
| label2    = {{longitem|Native name}}
 +
| data2      = {{#if:{{{native_name|}}} |<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{Check ISO 639-1|{{{native_name_lang}}}}}"}}>{{{native_name}}}</span>}}
 +
 
 +
| label3    = Nationality
 +
| data3      = {{{nationality|}}}
 +
 
 +
| label4    = Status
 +
| class4    = category
 +
| data4      = {{{status|}}}
 +
 
 +
| label5    = Born
 +
| data5      = {{Br separated entries |{{{birth_name|}}} |{{{birth_date|}}} |{{{birth_place|}}} }}
 +
 
 +
| label6    = Died
 +
| data6      = {{Br separated entries |{{{death_date|}}} |{{{death_place|}}} }}
 +
 
 +
| label7    = {{longitem|Resting place}}
 +
| data7      = {{Br separated entries |{{{resting_place|}}} |{{#if:{{{resting_place_coordinates|}}}|{{{resting_place_coordinates}}}|{{{resting_place_coords|}}}}} }}
 +
 
 +
| label8    = {{longitem|Other names}}
 +
| class8    = nickname
 +
| data8      = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
 +
 
 +
| label9    = {{longitem|Other occupation}}
 +
| class9    = role
 +
| data9      = {{{occupation|}}}
 +
 
 +
| 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|}}}}}}
  
| label1    = Nationality
+
| data24     = {{{module|}}}
| data1      = {{{nationality|}}}
 
| label2    = Status
 
| data2      = {{{status|}}}
 
| label3    = Born
 
| data3      = {{{date_birth|}}}{{#if:{{{place_birth|}}}|<br />{{{place_birth}}} }}
 
| label4    = Died
 
| data4      = {{{date_death|}}}{{#if:{{{place_death|}}}|<br />{{{place_death}}} }}
 
| label5    = Other occupation
 
| data5      = {{{occupation|}}}
 
| label6    = Current occupation
 
| data6      = {{{current_occupation|}}}
 
| label7    = Previous occupation
 
| data7      = {{{previous_occupation|}}}
 
| label8    = Rank
 
| data8      = {{{rank|}}}
 
| label9    = Time in space
 
| data9      = {{{time|}}}
 
| label10    = Selection
 
| data10    = {{{selection|}}}
 
| label11    = Missions
 
| data11    = {{{mission|}}}
 
| label12    = Mission insignia
 
| data12    = {{{insignia|}}}
 
| label13    = Retirement
 
| data13    = {{{Date of ret|}}}
 
| label14    = Awards
 
| data14     = {{{awards|}}}
 
  
 
}}
 
}}

Revision as of 15:24, 28 July 2015

{{#invoke:InfoboxImage|InfoboxImage |image= |size= |sizedefault=frameless|upright=1 |alt= }}
BornTemplate:Br separated entries
DiedTemplate:Br separated entries
Template:LongitemTemplate:Br separated entries