Difference between revisions of "Template:Infobox astronaut/doc"
imported>Myself488 m (added interwiki-links) |
imported>Soumya-8974 |
||
| (71 intermediate revisions by 39 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | |
| + | {{Person infobox header}} | ||
| + | {{Uses Infobox person}} | ||
| + | {{lua|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| + | |||
| + | {{tl|Infobox astronaut}} may be used in an article about a person who is an [[astronaut]] or cosmonaut. | ||
== Usage == | == Usage == | ||
| + | |||
This infobox may be added by copy-pasting the template as shown below into an article. | This infobox may be added by copy-pasting the template as shown below into an article. | ||
| − | <div style="width: | + | {{Parameter names example |
| − | <pre>{{Infobox | + | |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 |
| − | |name | + | }} |
| − | |image | + | |
| − | | | + | <div style="width:60%;background:#ddd;border:1px solid black;padding:0.5em 1.0em;"> |
| − | |caption | + | <pre style="overflow:auto;"> |
| − | |type | + | {{Infobox astronaut |
| − | |nationality | + | | name = |
| − | |status | + | | honorific_prefix = |
| − | | | + | | honorific_suffix = |
| − | | | + | | image = |
| − | | | + | | image_size = |
| − | | | + | | alt = |
| − | |occupation | + | | caption = |
| − | |current_occupation | + | | type = |
| − | |previous_occupation = | + | | native_name = |
| − | |rank | + | | native_name_lang = |
| − | | | + | | nationality = |
| − | |selection | + | | status = |
| − | |mission | + | | birth_name = |
| − | |insignia | + | | birth_date = |
| − | | | + | | birth_place = |
| − | |awards | + | | death_date = |
| − | }}</pre> | + | | 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 = | ||
| + | }} | ||
| + | </pre> | ||
</div> | </div> | ||
| + | {{clear}} | ||
| − | == Parameters == | + | ===Parameters=== |
| + | {{Aligned table | ||
| + | | class = wikitable | ||
| + | | row1header = y | ||
| + | | cols = 2 | ||
| + | | col1style = font-style:italic;font-weight:bold;padding-right:1.0em; | ||
| + | | {{noitalic|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 [[bracket]]s and File: or Image: prefix (abc.jpg, xyz.png, etc.) | ||
| + | | image_size | Size to display image: ''200px'' (set width), ''x300px'' (set height), or ''200x300px'' (max width & max height). This defaults to ''frameless'' (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set. | ||
| + | | alt | Alternative text for image, for visually impaired readers (see [[WP:ALT]]) | ||
| + | | caption | Caption to accompany image. If a (portrait) photograph of the person, try to include date of photo and photographer's name. | ||
| + | | type | Sponsoring agency (NASA, RKA, ESA, CSA, etc.) plus "Astronaut" ("Cosmonaut" for RKA) for professionals; Payload Specialist, Tourist, etc. for other flyers. | ||
| + | | native_name | Name in the person's [[native language]]. If more than one, separate using {{tl|plainlist}}. | ||
| + | | native_name_lang | [[ISO 639-1]] two-letter code for person's native language (e.g. "fr" for French). If more than one, use {{tl|lang}} in {{para|native_name}} instead. | ||
| + | | nationality | Nationality. [[Wikipedia:Manual of Style (icons)#Biographical use|Do not use a flag template]]. | ||
| + | | citizenship | Citizenship. See [[Template:Infobox person#nationality|usage notes in documentation of template Infobox person]]. | ||
| + | | status | Status of involvement with an astro/cosmonaut corps (e.g. Active, Retired, Dismissed); applies only to ''living'' persons. Remove upon death; do not put "dead" or circumstances of death. | ||
| + | | birth_name | Name at birth, if different than ''name'' | ||
| + | | birth_date | Date of birth. If the person is living, use {{tl|Birth date and age}}, {{tl|Birth-date and age}}, or {{tl|Birth year and age}}. If deceased, use {{tl|Birth date}} or {{tl|Birth-date}}. Use plain text for partial dates. <br />Example: <nowiki>{{Birth date and age|1950|8|26}}</nowiki> if born August 26, 1950 <br />Example: <nowiki>{{Birth date and age|df=yes|1950|8|26}}</nowiki> to display birth date as 26 August 1950 | ||
| + | | birth_place | Place of birth (town/city, state/province, country). | ||
| + | | death_date | Date of death. If the date of birth is known, use {{tl|Death date and age}}, {{tl|Death-date and age}}, or {{tl|Death year and age}}. Otherwise, use {{tl|Death date}} or {{tl|Death-date}}. Use plain text for partial dates. <br />Example: <nowiki>{{Death date and age|1993|2|24|1950|8|26}}</nowiki> if died February 24, 1993 and born August 26, 1950 <br />Example: <nowiki>{{Death date and age|df=yes|1993|2|24|1941|4|12}}</nowiki> to display death date as 24 February 1993 | ||
| + | | death_place | Place of death (town/city, state/province, country). | ||
| + | | resting_place | Location where person buried, ashes interred/scattered, etc. | ||
| + | | resting_place_coords | Precise coordinates for place of burial, ash-scattering etc. Use {{tl|coord}} template. | ||
| + | | other_names | If person used/known by names other than those already given. | ||
| + | | occupation | Occupation or occupations other than as an astro/cosmonaut. | ||
| + | | current_occupation | Current occupation if not still an astro/cosmonaut. | ||
| + | | previous_occupation | Occupation before becoming an astro/cosmonaut. | ||
| + | | alma_mater | ''[[Alma mater]]''. | ||
| + | | rank | ''Military'' rank (if any). | ||
| + | | space_time | Total time (to date) person has spent in space (h(ours) m(inutes) s(econds)). | ||
| + | | selection | Date when person selected to train as an astronaut. | ||
| + | | evas | Total number of [[Extra-vehicular activity|EVA]]s. | ||
| + | | eva_time | Total time of all EVAs when combined. | ||
| + | | missions<br/>{{nobold|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<br/>{{nobold|or: }}url | Official website only. Unofficial websites should be placed under <nowiki>==External links==</nowiki> in the body of the article. Use {{tl|URL}} as in <nowiki>{{URL|Example.com}}</nowiki>. Do not include the <code>www.</code> 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 [[#module|below]] for more details). | ||
| + | | child | For embedding this infobox into another (see [[#child|below]] for more details). | ||
| + | }} | ||
| − | {| | + | {{Anchor|module}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | ==Microformat== | + | === Embedding other templates via ''module'' parameter=== |
| + | The ''module'' parameter is used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]). For example: | ||
| + | <pre style="overflow:auto;"> | ||
| + | {{Infobox astronaut | ||
| + | | name = | ||
| + | | <!-- etc. --> | ||
| + | | module = | ||
| + | {{Infobox football biography |embed=yes | ||
| + | | <!-- etc. --> | ||
| + | }} | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{Anchor|child}} | ||
| + | |||
| + | ===Use as an embedded template via ''child'' parameter=== | ||
| + | The ''child'' parameter is used when embedding this infobox into another. | ||
| + | |||
| + | {{Infobox person module documentation |template=Infobox astronaut | parameter=child}} | ||
| + | |||
| + | == Example == | ||
| + | {{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[Yuri Gagarin]] and should not be updated for the sake of '''truth'''.}} | ||
| + | {{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]]<br>[[Medal "For Merit in Space Exploration"]] | ||
| + | }} | ||
| + | <pre style="overflow:auto;"> | ||
| + | {{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}} | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | == Microformat == | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
| − | + | == Tracking category == | |
| − | + | * {{clc|Pages using infobox astronaut with unknown parameters}} | |
| − | + | ||
| − | + | {{Spaceflight infoboxes}} | |
| − | <!-- | + | <includeonly>{{Sandbox other|| |
| − | + | <!-- Categories go here and interwikis go in Wikidata. --> | |
| − | + | {{DEFAULTSORT:Astronaut}} | |
| − | + | [[Category:People and person infobox templates]] | |
| − | + | [[Category:Spaceflight infobox templates]] | |
| − | + | [[Category:Biographical templates usable as a module|Astronaut]]<!--override defaultsort--> | |
| − | + | [[Category:Infobox templates with module parameter|Astronaut]]<!--override defaultsort--> | |
| − | + | [[Category:Templates that add a tracking category|{{PAGENAME}}]]<!--override defaultsort--> | |
| − | [[ | + | }}</includeonly> |
| − | [[ | ||
| − | [[ | ||
| − | [[ | ||
| − | [[ | ||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 13:42, 25 July 2020
| 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 Template:Uses Infobox person
| 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 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
| 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