Jump to content

Template:Minor planets navigator/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Place this template in the footer of any numbered minor planet article and don't forget to add parameter |number= to enable additional features (see example below). When used in articles other than numbered minor planets (such as in Asteroid or Minor planet), it is best to start the navigator from the start, that is:

  • {{Minor planets navigator|PageName=[[Ceres (dwarf planet)|1 Ceres]]||2 Pallas|state=autocollapse}}

Arguments

[edit]
  • | the first unnamed argument is for the designation of the preceding minor planet
  • |number= contains the object's number (current article). It will produce a link to the corresponding entry in the catalog and categorize the article.
  • |PageName= allows to format/override the displayed title (current article), analogous to DISPLAYTITLE.
  • | the second unnamed argument is for the designation of the subsequent minor planet

Example

[edit]

For article (55637) 2002 UX25, which has the catalog number 55637:


{{Minor planets navigator |(55636) 2002 TX300 |number=55637| PageName={{mp|(55637) 2002 UX|25}} |(55638) 2002 VE95}}

|-------------------------|-------------------|------------|------------------------------------|----------------- -|
|                         | preceding article | article-num|     article-title formatted        |succeeding article |
|-------------------------|-------------------|------------|------------------------------------|----------------- -|
This will produce

The four parameters are set as follows:

  • | (55636) 2002 TX300 — the designation of the preceding minor planet
  • |number= 55637 — current article; number only
  • |PageName= {{mp|(55637) 2002 UX|25}} — current article; formatted version, numeric indices are then displayed in subscript
  • | (55638) 2002 VE95 — the designation of the succeeding minor planet

The PageName parameter can be left empty for minor planets that are named or unnamed, but with no subscript number. In the resulting output, the article itself (central item) will link to the corresponding entry in the list of minor planets. The first and last item of the triplet will link directly to the article.

Category

[edit]

Using {{Minor planets navigator}} with a number parameter automatically adds the article to Category:Minor planet object articles (numbered). As of January 2019, there are 3,087 articles in this category.

Collapsible options

[edit]

This template's initial visibility currently defaults to expanded, meaning that it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{Minor planets navigator|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Minor planets navigator|state=autocollapse}} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.

See also

[edit]

External link templates for minor planets

Local link templates for minor planets and on related topics

Link templates on Solar System features

  • {{GPN}} (inline citations)
  • {{WGPSN}} (external links)

Partial list templates (minor planets/meanings/named-MPs)