Template:Infobox astronaut/doc

Source: Wikipedia, the free encyclopedia.

{{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.

{{{honorific_prefix}}}
{{{name}}}
{{{honorific_suffix}}}
{{{native_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Born
{{{birth_name}}}

{{{birth_date}}}
{{{birth_place}}}
Status{{{status}}}
Died{{{death_date}}}
{{{death_place}}}
Resting place{{{resting_place}}}
{{{resting_place_coords}}}
Nationality{{{nationality}}}
Other names{{{other_names}}}
Alma mater{{{alma_mater}}}
Occupation{{{occupation}}}
Awards{{{awards}}}
Space career
{{{type}}}
Current occupation
{{{current_occupation}}}
Previous occupation
{{{previous_occupation}}}
Rank{{{rank}}}
Time in space
{{{space_time}}}
Selection{{{selection}}} [a date]
Total EVAs
{{{evas}}} [a number]
Total EVA time
{{{eva_time}}}
Missions{{{missions}}} or {{{mission}}}
Mission insignia
{{{insignia}}}
Retirement{{{retirement}}} [a date]
Memorials{{{memorials}}}
{{{module}}}
Website{{{website}}}
{{Infobox astronaut
| name = 
| honorific_prefix = 
| honorific_suffix = 
| image = 
| image_size = 
| alt =
| caption = 
| type = 
| native_name = 
| native_name_lang = 
| nationality = <!-- use only when necessary per [[WP:INFONAT]] -->
| 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

These are the most commonly-used parameters. The template accepts all parameters that {{Infobox person}} does. To see a complete list of those parameters, see here.

Parameter Explanation
name Commonly-known name of person (defaults to article name, without disambiguation)
honorific_prefix To appear on the line above the person's name
honorific_suffix To appear on the line below the person's name
image A picture of or including the person. Use file name only, without the
EVAs.
eva_time Total time of all EVAs when combined.
missions
or: mission
Completed or in-progress space mission or missions in which the person has taken or is taking part. Do not enter future missions: crew assignments can change prior to launch.
insignia One or more images of completed or in-progress mission insignia for space missions in which the person has taken or is taking part. Do not enter future missions: crew assignments can change prior to launch.
retirement Date when person retired from astro/cosmonaut activity.
awards Any awards person has received.
memorials Any monuments or memorials to the person.
website
or: url
Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.
module Used for embedding other templates into this infobox (see below for more details).
child For embedding this infobox into another (see below for more details).

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 {{

Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes
.

{{Infobox person
 | name = 
 | image = 
 | caption = 
 | birth_date = 
 | birth_place = 
 | <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
 | module = 
   <nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
   | {{{2|{{{example_parameter1|parameter-1}}}}}} = 
   | {{{3|{{{example_parameter2|parameter-2}}}}}} = 
   | {{{4|{{{example_parameter3|parameter-3}}}}}} = 
   | {{{5|{{{example_parameter4|parameter-4}}}}}} = 
   | <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
   }}
 }}

Example

Yuri Gagarin
Юрий Гагарин
Pilot
AwardsHero of the Soviet Union
Medal "For Merit in Space Exploration"
Space career
Soviet cosmonaut
The first human in space
RankColonel (Polkovnik), Soviet Air Forces
Time in space
1 hour, 48 minutes
SelectionAir Force Group 1
MissionsVostok 1
{{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 
| 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

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{

WP:DOB
.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking category