Template:Extrasolar planet counts/doc
| This is a documentation subpage for Template:Extrasolar planet counts. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Purpose
The {{Extrasolar planet counts}} template centralizes the counts of verified extrasolar planets and systems. These are used in several articles, and sometimes more than once. Placing them here allows them all to be updated at once, and avoids the problem of only one count in an article getting updated. This template should not be subst'd.
Syntax
The template is used as follows:
- {{Extrasolar planet counts|parameter}}
The one and only parameter specifies the data value to be inserted:
- asof - the date as of which the data is valid
- 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
Data source
These numbers are sourced from the frequently updated Interactive Extra-solar Planets Catalog, located here. Numbers for the Kepler space telescope planets are derived from kepler.nasa.gov.
The numbers can be updated by locating the switch statement in the template source code, and updating the four data items therein. The switch, with the data items to be updated in bold, currently looks like this:
-->{{#switch: {{{1|}}}
| asof = 1 January 2021
| planet_count = 4,395
| system_count = 3,242
| multiplanetsystem_count = 720
| #default = {{error|invalid parameter}} }}<!--
In the switch statement, asof and planet_count should be copied directly from the first few lines (update and all candidates detected) on the Interactive Extra-solar Planets Catalog page in the link above. system_count and multiplanetsystem_count must be totaled manually from the four categories listed on the page:
- Candidates detected by radial velocity or astrometry
- Candidates detected by microlensing
- Candidates detected by imaging
- Candidates detected by timing
Note: do not add the transiting planet subcategory numbers - these numbers are already included in the Candidates detected by radial velocity or astrometry category.