Templat:Extrasolar planet counts/numbers
This subtemplate 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.
The parameters passed from {{extrasolar planet counts}} are as follows, and were last updated on 1 September 2021:
asof
- the date as of which the data is valid- There is a secondary unnamed param 2 on asof that specifies the date format, as used in {{date}}
planet_count
- the number of extrasolar planetssystem_count
- the number of systems with extrasolar planetsmultiplanetsystem_count
- the number of systems with more than one extrasolar planetref
- These numbers are sourced from the Interactive Extra-solar Planets Catalog, http://exoplanet.eu/catalog.php. The reference does not need to be updated unless the URL itself changes.
Verify that you are looking at the Extrasolar Planets Encyclopaedia "Catalog" page, and that the filter is set for "Confirmed/All planets". Note that the "Confirmed" is hidden unless the pulldown list is displayed. Immediately above the list of planets, a total line similar to the following will be displayed:
Showing 3.572 planetary systems / 4.834 planets / 795 multiple planet systems
In the switch statement, asof should be set to the current date, and system_count, planet_count and multiplanetsystem_count should be copied from the "Showing..." line displayed above.
Note: do not add the "transiting planet" subcategory numbers - these numbers are already included in the "Candidates detected by radial velocity or astrometry" category.