Template:Infobox astronaut/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Script error: No such module "Message box". Template:Person infobox header Template:Uses Infobox person Template:Lua

Template:Tl 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
| honorific_prefix   = 
| name               = <!-- defaults to article title when left blank -->
| honorific_suffix   = 
| native_name        = 
| native_name_lang   = 
| image              = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
| alt                = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
| caption            = 
| birth_name         = <!-- only use if different from name -->
| birth_date         = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. -->
| birth_place        = 
| death_date         = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (enter DEATH date then BIRTH date (e.g., ...|1967|8|31|1908|2|28}} use both this parameter and |birth_date to display the person's date of birth, date of death, and age at death) -->
| death_place        = 
| resting_place      = 
| resting_place_coordinates = <!-- {{coord|LAT|LONG|type:landmark|display=inline}} -->
| other_names        = 
| education          = 
| alma_mater         = 
| spouse             = <!-- use article title or common name -->
| partner            = <!-- (unmarried long-term partner) -->
| children           = 
| callsign           = <!-- amateur radio, use if relevant -->
| awards             = 
| type               = 
| current_occupation = 
| previous_occupation = 
| rank               = 
| space_time         = 
| selection          = 
| evas               = 
| eva_time           =
| missions           = 
| insignia           = 
| awards             = 
| memorials          = 
| module             = 
| website            = <!-- {{URL|example.com}} -->
| signature_type     =
| signature          = 
| signature_size     = 
| signature_alt      = 
| footnotes          = 
| child              =
}}

Parameters

These are the most commonly-used parameters. The template accepts all parameters that Template:Tl does. To see a complete list of those parameters, see here.

Template:Aligned table

Script error: No such module "anchor".

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

Script error: No such module "anchor".

Use as an embedded template via child parameter

The child parameter is used when embedding this infobox into another. It can then be placed under the module parameter inside the other infobox

{{Infobox astronaut
| child              = yes
| type               = 
| current_occupation = 
| previous_occupation = 
| rank               = 
| space_time         = 
| selection          = 
| evas               = 
| eva_time           =
| missions           = 
| insignia           = 
| awards             = 
| memorials          = 
}}

Example

Script error: No such module "Hatnote". Script error: No such module "Template wrapper".Script error: No such module "Check for clobbered parameters".

{{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 Template:Tl, or Template:Tl are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use Template:Tl.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including: Template:Flatlist

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

Tracking category

Template:Spaceflight infoboxes