Difference between revisions of "Template:Infobox astronaut"

From blackwiki
Jump to navigation Jump to search
imported>Rillian
m (typo)
imported>Latebird
m (renumbering items; header1 and label1/data1 are mutually exclusive)
Line 10: Line 10:
 
| header1    = {{#if:{{{type|}}}|<span class="role">{{{type}}}</span>}}
 
| header1    = {{#if:{{{type|}}}|<span class="role">{{{type}}}</span>}}
  
| label1     = Nationality
+
| label2     = Nationality
| data1     = {{{nationality|}}}
+
| data2     = {{{nationality|}}}
| label2     = Status
+
| label3     = Status
| data2     = {{{status|}}}
+
| data3     = {{{status|}}}
| class2     = category
+
| class3     = category
| label3     = Born
+
| label4     = Born
| data3     = {{{date_birth|}}}{{#if:{{{place_birth|}}}|<br />{{{place_birth}}} }}
+
| data4     = {{{date_birth|}}}{{#if:{{{place_birth|}}}|<br />{{{place_birth}}} }}
| label4     = Died
+
| label5     = Died
| data4     = {{{date_death|}}}{{#if:{{{place_death|}}}|<br />{{{place_death}}} }}
+
| data5     = {{{date_death|}}}{{#if:{{{place_death|}}}|<br />{{{place_death}}} }}
| label5     = Other occupation
+
| label6     = Other occupation
| data5     = {{{occupation|}}}
+
| data6     = {{{occupation|}}}
| class5    = role
 
| label6    = Current occupation
 
| data6      = {{{current_occupation|}}}
 
 
| class6    = role
 
| class6    = role
| label7    = Previous occupation
+
| label7    = Current occupation
| data7      = {{{previous_occupation|}}}
+
| data7      = {{{current_occupation|}}}
 
| class7    = role
 
| class7    = role
| label8    = Rank
+
| label8     = Previous occupation
| data8     = {{{rank|}}}
+
| data8      = {{{previous_occupation|}}}
| class8     = title
+
| class8    = role
| label9     = Time in space
+
| label9     = Rank
| data9     = {{{time|}}}
+
| data9     = {{{rank|}}}
| rowclass9 = note
+
| class9     = title
| label10   = Selection
+
| label10     = Time in space
| data10     = {{{selection|}}}
+
| data10     = {{{time|}}}
| label11   = Total EVAs
+
| rowclass10 = note
| data11     = {{{eva1|}}}
+
| label11   = Selection
| label12   = Total EVA time
+
| data11     = {{{selection|}}}
| data12     = {{{eva2|}}}
+
| label12   = Total EVAs
| label13   = Missions
+
| data12     = {{{eva1|}}}
| data13     = {{{mission|}}}
+
| label13   = Total EVA time
| label14   = Mission insignia
+
| data13     = {{{eva2|}}}
| data14     = {{{insignia|}}}
+
| label14   = Missions
| label15   = Retirement
+
| data14     = {{{mission|}}}
| data15     = {{{Date of ret|}}}
+
| label15   = Mission insignia
| label15   = Awards
+
| data15     = {{{insignia|}}}
| data15     = {{{awards|}}}
+
| label16   = Retirement
 +
| data16     = {{{Date of ret|}}}
 +
| label17   = Awards
 +
| data17     = {{{awards|}}}
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 09:33, 1 September 2010

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Template:Person infobox header Template:Uses Infobox person

{{Infobox astronaut}} may be used in an article about a person who is an astronaut or cosmonaut.

Usage

This infobox may be added by copy-pasting the template as shown below into an article.

Template:Parameter names example

{{Infobox astronaut
| name = 
| honorific_prefix =
| honorific_suffix = 
| image = 
| image_size = 
| alt =
| caption = 
| type = 
| native_name = 
| native_name_lang = 
| nationality = 
| status = 
| birth_name = 
| birth_date = 
| birth_place = 
| death_date = 
| death_place = 
| resting_place = 
| resting_place_coords = 
| other_names = 
| occupation = 
| current_occupation = 
| previous_occupation = 
| alma_mater = 
| rank = 
| space_time = 
| selection = 
| evas = 
| eva_time =    <!-- h m s -->
| missions =    <!-- or: |mission= -->
| insignia = 
| retirement =  <!-- {{end date|YYYY|MM|DD}} -->
| awards = 
| memorials = 
| website =     <!-- {{URL|example.com}} -->
| module = 
| child =
}}

Parameters

Script error: No such module "aligned table".

Embedding other templates via module parameter

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules). For example:

{{Infobox astronaut
| name = 
| <!-- etc. -->
| module = 
  {{Infobox football biography |embed=yes
  | <!-- etc. -->
  }}
}}

Use as an embedded template via child parameter

The child parameter is used when embedding this infobox into another.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox astronaut | child=yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Example

Yuri Gagarin
200px
Gagarin on a visit to Sweden, 1964
Soviet cosmonaut
The first human in space
NationalitySoviet
Other occupationPilot
RankColonel (Polkovnik), Soviet Air Forces
Time in space1 hour, 48 minutes
SelectionAir Force Group 1
MissionsVostok 1
AwardsHero of the Soviet Union
Medal "For Merit in Space Exploration"
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox astronaut
| name          = Yuri Gagarin
| image         = Gagarin in Sweden.jpg
| caption       = Gagarin on a visit to Sweden, 1964
| type          = [[Soviet space program|Soviet]] cosmonaut<br />The first human in [[outer space|space]]
| native_name   = Юрий Гагарин
| native_name_lang = ru 
| nationality   = [[Soviet people|Soviet]]
| birth_name    = Yuri Alekseyevich Gagarin
| birth_date    = {{Birth date|df=yes|1934|3|9}}
| birth_place   = [[Klushino]], [[Russian SFSR]], [[Soviet Union]]
| death_date    = {{Death date and age|df=yes|1968|3|27|1934|3|9}}
| death_place   = [[Novosyolovo]], Russian SFSR, Soviet Union
| resting_place = [[Kremlin Wall Necropolis]]
| occupation    = [[Pilot (aircraft)|Pilot]]
| rank          = Colonel ([[Polkovnik]]), [[Soviet Air Forces]]
| selection     = [[List of astronauts by year of selection#1960|Air Force Group 1]]
| time          = 1 hour, 48 minutes
| mission       = [[Vostok 1]]
| insignia      = 
| awards        = {{Hero of the Soviet Union}} {{Order of Lenin}}
}}

Microformat

Template:UF-hcard-person

Tracking category

Template:Spaceflight infoboxes