Template:Extrasolar planet counts/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

TemplateData

[edit source]
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; The number of systems needs to be calculated by adding (number of planets in n-planet systems)/n for n up to 8.
  • 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 source]

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 source]
  • Display the entire message:

{{Extrasolar planet counts|full}} → As of 30 October 2025, there are 6,128 confirmed exoplanets in 4,584 planetary systems, with 1,017 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 18 December 2025, there are 6,065 confirmed exoplanets in 4,518 planetary systems, with 1,025 systems having more than one planet.[2]

References

[edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).