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 1 May 2024, there are 5,662 confirmed exoplanets in 4,169 planetary systems, with 896 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 16 May 2024, there are 5,630 confirmed exoplanets in 4,186 planetary systems, with 950 systems having more than one planet.[2]

References edit

  1. ^ Schneider, J. "Interactive Extra-solar Planets Catalog". The Extrasolar Planets Encyclopedia. Retrieved 1 May 2024.
  2. ^ "Exoplanet and Candidate Statistics". NASA Exoplanet Archive. Retrieved 16 May 2024.