Jump to content

Template:Extrasolar planet counts/doc

From Wikipedia, the free encyclopedia

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Extrasolar planet counts in articles based on its TemplateData.

TemplateData for Extrasolar planet counts

Centralizes the counts of verified extrasolar planets and systems

Template parameters

ParameterDescriptionTypeStatus
data field1

Specifies the data value to be inserted

Suggested values
Journal Book Newspaper Magazine
Stringrequired
format code2

Controls the format for as-of data

Default
DMY
Example
MDY
Stringoptional
data sourcesource

Switches the data source as reference

Suggested values
NEA
Default
EPE
Stringoptional

The first parameter can be assigned these data values:

  • asof: The date as of which the data is valid. With asof only, a second parameter can be specified indicating the format of the date to be inserted. {{date}} is used, and the format codes are defined there.
  • planet_count: The number of extrasolar planets
  • system_count: The number of systems with extrasolar planets
  • multiplanetsystem_count: The number of systems with more than one extrasolar planet
  • ref: Adds a reference to The Extrasolar Planet Encyclopaedia Catalog Listing
  • full: If the entire message displayed on this template is desired

Data source

[edit]

These numbers are sourced from the frequently updated Interactive Extra-solar Planets Catalog, located here.

Click here to update the EPE data (default). The numbers can be updated by locating the switch statement in the template source code, and updating the four data items therein.

Click here to update the NEA data (optional). The numbers can be updated by locating the switch statement in the template source code, and updating the four data items therein.

Historical note: Prior to 10-Jul-2012, the Extrasolar Planets Encyclopaedia displayed this data in a different format, and a different procedure was used to update this template. See a version of this documentation page from before that date for the older procedure.

Examples

[edit]
  • Display the entire message:

{{Extrasolar planet counts|full}} → As of 24 July 2024, there are 7,026 confirmed exoplanets in 4,949 planetary systems, with 1007 systems having more than one planet.[1]

  • Display the entire message and use NEA data as source:

{{Extrasolar planet counts|full|source=NEA}} → As of 7 November 2024, there are 5,787 confirmed exoplanets in 4,320 planetary systems, with 969 systems having more than one planet.[2]

References

[edit]
  1. ^ Schneider, J. "Interactive Extra-solar Planets Catalog". The Extrasolar Planets Encyclopedia. Retrieved 24 July 2024.
  2. ^ "Exoplanet and Candidate Statistics". NASA Exoplanet Archive. Retrieved 7 November 2024.