Template:Infobox launch pad/doc

From IxWiki
Jump to navigation Jump to search

Usage

{{Infobox launch pad
<!--general-->
| name        = <!-- name of the launch complex, defaults to page title -->
| image       = <!-- an image of the launch complex (omit prefix) -->
| imsize      = <!-- size of the image in px (omit suffix), defaults to 300 -->
| caption     = <!-- caption for the image -->
| site        = <!-- launch site that the complex is part of -->
| location    = <!-- location -->
| coordinates = <!-- latitude and longitude of the launch complex; use {{tl|Coord}} -->
| short       = <!-- short name of the launch complex -->
| operator    = <!-- organisation(s) responsible for operating and maintaining the launch complex -->
| tlaunches   = <!-- total launches from the complex -->
| pads        = <!-- number of individual pads in the complex -->
| inclination = <!-- range of inclinations that can be reached from the complex -->
| paddetails  = 
  {{Infobox launch pad/pad <!--add one of these templates for each pad in the complex -->
  | landing      = <!-- Enter any value (i.e. "Y") if this pad is for landings rather than launches. NOTE: sub-template only supports launches OR landings; if pad has supported both, use a separate instance of sub-template for each. -->
  | designation  = <!-- name of the individual launch pad -->
  | status       = <!-- status of the pad (eg. Active, Inactive, Demolished, etc) -->
  | launches     = <!-- Number of launches from the pad -->
  | landings     = <!-- Number of landings at the pad -->
  | unknown      = <!-- Enter any value (i.e. "Y") if there were launches from the complex with no known pad -->
  | first_launch = <!-- Date of the first launch from the pad; use {{tl|Start-date}} -->
  | first_details= <!-- Rocket and payload of first launch -->
  | last_launch  = <!-- Date of the most recent launch from the pad -->
  | last_details = <!-- Rocket and payload of last launch -->
  | first_landing= <!-- Date of the first landing at the pad; use {{tl|Start-date}} -->
  | first_landing_details = <!-- Rocket and payload of first landing -->
  | last_landing = <!-- Date of the most recent landing at the pad -->
  | last_landing_details = <!-- Rocket and payload of last landing -->
  | rockets      = <!-- rockets that have used the pad --> 
  }}
}}

Legacy (obsolete) parameters

These parameters are supported by the template to allow it to display properly on articles that have not yet been converted to the new format. They should not be introduced into new articles/transclusions.

<!--first pad-->
| pad1        = <!-- name of the launch pad -->
| status      = <!-- status of the pad (eg. Active, Inactive, Demolished, etc) -->
| launches    = <!-- Number of launches from the pad -->
| first       = <!-- Date of the first launch from the pad -->
| last        = <!-- Date of the most recent launch from the pad -->
| rockets     = <!-- rockets that have used the pad -->

<!--second pad-->
| pad2        = <!-- name of the launch pad -->
| status2     = <!-- status of the pad (eg. Active, Inactive, Demolished, etc) -->
| launches2   = <!-- Number of launches from the pad -->
| first2      = <!-- Date of the first launch from the pad -->
| last2       = <!-- Date of the most recent launch from the pad -->
| rockets2    = <!-- rockets that have used the pad -->

<!--third pad-->
| pad3        = <!-- name of the launch pad -->
| status3     = <!-- status of the pad (eg. Active, Inactive, Demolished, etc) -->
| launches3   = <!-- Number of launches from the pad -->
| first3      = <!-- Date of the first launch from the pad -->
| last3       = <!-- Date of the most recent launch from the pad -->
| rockets3    = <!-- rockets that have used the pad -->

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

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

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking category

See also