Template:Infobox space program: Difference between revisions
(Wikilink to template in check for unknown parameters) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:53, 15 February 2024
File:Lua-Logo.svg | This template uses Lua: |
Usage
{{{native_name}}} {{{native_name_a}}} {{{native_name_r}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{upright}}}]] | |
Program overview | |
---|---|
Country | {{{country}}} |
Organization | {{{organization}}} |
Manager | {{{manager}}} |
Purpose | {{{purpose}}} |
Status | {{{status}}} |
Program history | |
Cost | {{{cost}}} |
Duration | {{{duration}}} |
First flight | {{{firstflight}}} |
First crewed flight | {{{firstcrewed}}} |
Last flight | {{{lastflight}}} |
Successes | {{{successes}}} |
Failures | {{{failures}}} |
Partial failures | {{{partialfailures}}} |
Launch site(s) | {{{launchsite}}} |
Vehicle information | |
Uncrewed vehicle(s) | {{{uncrewvehicle}}} |
Crewed vehicle(s) | {{{crewvehicle}}} |
Crew capacity | {{{capacity}}} |
Launch vehicle(s) | {{{launcher}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>
Parameters
- name: name of program (will use PAGENAME if omitted)
- native_name: Program name in a native language using Western characters (French, German, Spanish, etc.)
- native_name: Program name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.)
- native_name_r: (optional) Use in conjunction with above for Romanized name of the program.
- image: an image, typically the program insignia, if any
- caption: caption for the image, if needed
- country: the country in which the program was conducted
- organization: the name of the organization which conducted the program
- organisation: use instead of organization to change the spelling to organisation
- manager: current manager of the program, if the program is ongoing, otherwise use first and last manager of the program
- purpose: goal of the program ("uncrewed satellite", "human Earth orbit", "human lunar landing", etc.)
- status: current status of the program ("active", "completed", "abandoned", etc.)
- cost: program cost, optional
- duration: the beginning and ending dates for the program
- firstflight: the date and/or designation of the first flight of the program whether crewed or uncrewed
- firstcrewed: the date and/or designation of the first crewed flight of the program if not also the first flight of the program
- lastflight: the date and/or designation of the last flight in the program
- successes: the number of successful missions in the program both crewed and uncrewed
- failures: the number of failed missions (the designations of the failed missions may be included)
- partialfailures: the number of partial failures (the designations of the partial failure missions may be included)
- launchsite: the locations from which the flights of the program were launched
- vehicletype: the type(s) of vehicles involved in the program ("crewed", "uncrewed", "satellites")
- uncrewvehicle: the uncrewed spacecraft involved in the program
- crewvehicle: the crewed spacecraft involved in the program (e.g. "Apollo command module" or "Space Shuttle Orbiter")
- capacity: the maximum number of crew that can (or did) occupy the spacecraft
- launcher: the launch vehicles used in the program
- programme: set to "yes" or "y" to change the header from Program history to Programme history
Example
File:Apollo program.svg | |
Program overview | |
---|---|
Country | United States |
Organization | NASA |
Purpose | Crewed lunar landing |
Status | Completed |
Program history | |
Cost |
|
Duration | 1961–1972 |
First flight |
|
First crewed flight |
|
Last flight |
|
Successes | 32 |
Failures | 2 (Apollo 1 and 13) |
Partial failures | 1 (Apollo 6) |
Launch site(s) | |
Vehicle information | |
Crewed vehicle(s) | |
Launch vehicle(s) |
<syntaxhighlight lang="wikitext">
File:Apollo program.svg | |
Program overview | |
---|---|
Country | United States |
Organization | NASA |
Purpose | Crewed lunar landing |
Status | Completed |
Program history | |
Cost |
|
Duration | 1961–1972 |
First flight |
|
First crewed flight |
|
Last flight |
|
Successes | 32 |
Failures | 2 (Apollo 1 and 13) |
Partial failures | 1 (Apollo 6) |
Launch site(s) | |
Vehicle information | |
Crewed vehicle(s) | |
Launch vehicle(s) |
</syntaxhighlight>
TemplateData
An infobox template for use in articles on space programs
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the space program
| Line | optional |
Native name | native_name | Program name in a native language using Western characters (French, German, Spanish, etc.) | Unknown | suggested |
Direct native name | native_name_a | Program name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.)
| Unknown | optional |
Romanized native name | native_name_r | (optional) Use in conjunction with above for Romanized name of the program.
| Unknown | optional |
Image | image | an image, typically the program insignia | Unknown | optional |
Image size | image_size imsize | width of the image
| Unknown | optional |
Country | country | the country that conducted the program, may be preceded with flagicon
| Unknown | optional |
Organization | organization | the name of the organization which conducted the program
| Unknown | optional |
Organisation | organisation | use instead of organization to change the spelling to 'organization'
| Unknown | optional |
Manager | manager | current manager of the program, if the program is ongoing, otherwise user first and last manager of the program
| Unknown | optional |
Purpose | purpose | goal of the program
| Unknown | optional |
Status | status | current status of the program
| Unknown | optional |
Cost | cost | cost of the program
| Unknown | optional |
Duration | duration | the beginning and ending dates for the program
| Unknown | optional |
First (maiden) flight | firstflight first maiden maidenflight | the date and/or name of the first flight of the program
| Unknown | optional |
First crewed flight | firstcrewed | the date and/or name of the first crewed flight of the program
| Unknown | optional |
Last (final) flight | lastflight last | the date and/or name of the last flight of the program
| Unknown | optional |
Number of successes | successes | the number of successes experienced in the program
| Unknown | optional |
Number of failures | failures | the number of failures experienced in the program
| Unknown | optional |
Number of partial failures | partialfailures | the number of partial failures experienced in the program
| Unknown | optional |
Launch site(s) | launchsite | the location(s) from which the flights of the program were launched
| Unknown | optional |
Vehicle type(s) | vehicletype | the type(s) of vehicles involved in the program
| Unknown | optional |
Uncrewed vehicle | uncrewvehicle | the uncrewed spacecraft involved in the program | Unknown | optional |
Crewed vehicle(s) | crewvehicle | the crewed spacecraft involved in the program
| Unknown | optional |
Capacity | capacity | the maximum number of crew that can (or did) occupy the spacecraft
| Unknown | optional |
Launcher(s) | launcher | the launch vehicle(s) used in the program
| Unknown | optional |
Programme | programme | set to 'yes' or 'y' to change the header from 'Program history' to 'Programme history'
| Unknown | optional |
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.