Jump to content

Template:Extrasolar planet counts/numbers/EPE/doc

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by CopperyMarrow15 (talk | contribs) at 00:47, 18 June 2024 (fixed link; the ".php" link is a 404 page now). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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 24 July 2024:

  1. 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}}
  2. planet_count - the number of extrasolar planets
  3. system_count - the number of systems with extrasolar planets
  4. multiplanetsystem_count - the number of systems with more than one extrasolar planet
  5. ref - These numbers are sourced from The Extrasolar Planet Encyclopaedia Catalog Listing. 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 4,949 planetary systems / 7,026 planets / 1007 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.

Examples

[edit]

See also

[edit]

References

[edit]
  1. ^ Schneider, J. "Interactive Extra-solar Planets Catalog". The Extrasolar Planets Encyclopedia. Retrieved 24 July 2024.