Template:Infobox astronaut/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox astronaut. It contains usage information, categories and other content that is not part of the original template page. |
File:Ambox important.svg | The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
File:Ambox warning yellow.svg | This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
File:Lua-Logo.svg | This template uses Lua: |
{{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.
Script error: No such module "Parameter names example".
{{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
Script error: No such module "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.
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 | |
---|---|
Юрий Гагарин | |
File:Gagarin in Sweden.jpg | |
Born | Yuri Alekseyevich Gagarin 9 March 1934 |
Died | 27 March 1968 Novosyolovo, Russian SFSR, Soviet Union | (aged 34)
Resting place | Kremlin Wall Necropolis |
Occupation | Pilot |
Awards | Hero of the Soviet Union Medal "For Merit in Space Exploration" |
Space career | |
Soviet cosmonaut The first human in space | |
Rank | Colonel (Polkovnik), Soviet Air Forces |
Time in space | 1 hour, 48 minutes |
Selection | Air Force Group 1 |
Missions | Vostok 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 {{birth date}}, or {{birth date and age}} 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 {{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
Script error: No such module "Navbox".