Template:Minor planets navigator/doc
This is a documentation subpage for Template:Minor planets navigator. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
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
|
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
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
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
Initial visibility: currently defaults to expanded
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Minor planets navigator|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Minor planets navigator|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Minor planets navigator|state=autocollapse}}
If the |state=
parameter in the template on this page is not set, the template's initial visibility is taken from the |default=
parameter in the Collapsible option template. For the template on this page, that currently evaluates to expanded
.
See also
External link templates for minor planets
- {{AstDys}}
- {{DoMP}}
- {{ESA-SSA}}
- {{JA-BIN}}
- {{JPL}}
- {{JPL small body}}
- {{JPL+CAD}} (two links: JPL main page and "close approach data" section)
- {{LCDB}}
- {{MPC}}
- {{NeoDys}}
- {{M+J}} (combines MPC and JPL templates)
- {{WGSBNB}} (Bulletin of IAU's WGSBN)
Local link templates for minor planets and on related topics
- {{Minor planet list link}}
- {{Minor planet meaning link}}
- {{Obscode}} (Observatory code)
- {{LoMP+M+J}} (combines LoMP, MPC and JPL templates)
- {{Minor planets navigator}} (Footer Navbox in articles)
Link templates on Solar System features
Partial list templates (minor planets/meanings/named-MPs)
- Top
- {{List of minor planets/intro}} (Lead LoMP)
- {{MinorPlanetNameMeaningsDisclaimer}} (Lead MoMP)
- {{TOC001}} (Pagenavigation LoMP and MoMP)
- {{List of named minor planets by number header}} (Lead LoNMP)
- {{List of named minor planets by letter header}} (Lead LoNMP)
- Body
- {{List of minor planets/header2}} (Wikitable LoMP)
- {{MinorPlanetNameMeaningsTableHeader}} (Wikitable MoMP)
- {{List of unnumbered minor planets header}} (Wikitable LoUMP)
- Footer
- {{List of minor planets/See also}} (LoMP)
- {{MinorPlanetListFooter}} (Prev–Next LoMP)
- {{MinorPlanetNameMeaningsFooter}} (Prev–Next MoMP)
- {{Meanings of minor-planet names}} (Collapsed Navbox MoMP)