Difference between revisions of "Template:Infobox astronaut/doc"
imported>Filedelinkerbot (Bot: Removing Commons:File:Vostok-1 patch.svg (en). It was deleted on Commons by Jcb (per Commons:Commons:Deletion requests/File:Vostok1patch.png).) |
imported>SshibumXZ (Adding |honorific_prefix in example and description.) |
||
| Line 11: | Line 11: | ||
{{Parameter names example | {{Parameter names example | ||
| − | |name |honorific_suffix |image |image_size |alt |caption |type |native_name |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={{{selection}}} [a date] |evas={{{evas}}} [a number] |eva_time |missions={{{missions}}} or {{{mission}}} |insignia |retirement={{{retirement}}} [a date] |awards |memorials |website |module | + | |name |honorific_prefix |honorific_suffix |image |image_size |alt |caption |type |native_name |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={{{selection}}} [a date] |evas={{{evas}}} [a number] |eva_time |missions={{{missions}}} or {{{mission}}} |insignia |retirement={{{retirement}}} [a date] |awards |memorials |website |module |
}} | }} | ||
| Line 18: | Line 18: | ||
{{Infobox astronaut | {{Infobox astronaut | ||
| name = | | name = | ||
| + | | honorific_prefix = | ||
| honorific_suffix = | | honorific_suffix = | ||
| image = | | image = | ||
| Line 66: | Line 67: | ||
| {{noitalic|Parameter}} | Explanation | | {{noitalic|Parameter}} | Explanation | ||
| name | Commonly-known name of person (defaults to article name, without disambiguation) | | 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 | | 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 [[bracket]]s and File: or Image: prefix (abc.jpg, xyz.png, etc.) | | image | A picture of or including the person. Use file name only, without the [[bracket]]s and File: or Image: prefix (abc.jpg, xyz.png, etc.) | ||
Revision as of 14:11, 1 December 2018
| 40px | 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. |
Template:Person infobox header
| 30px | This template uses Lua: |
{{Infobox astronaut}} may be used in an article about a person who is an astronaut or cosmonaut.
Contents
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 | |
|---|---|
Юрий Гагарин | |
| File:Gagarin in Sweden.jpg Gagarin on a visit to Sweden, 1964 | |
| Born | Yuri Alekseyevich Gagarin 9 March 1934 |
| Died | 27 March 1968 (aged 34) Novosyolovo, Russian SFSR, Soviet Union |
| Resting place | Kremlin Wall Necropolis |
| Nationality | Soviet |
| Occupation | Pilot |
| Awards | Hero of the Soviet Union Template:Order of Lenin |
| 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
| 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
Tracking category
Template:Spaceflight infoboxes