Template:JPL small body/doc
This is a documentation subpage for Template:JPL small body. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
{{JPL small body}} is an external link template that points to the NASA Jet Propulsion Laboratory Small-Body Database Browser at http://ssd.jpl.nasa.gov/. To cite the database, use instead {{cite sbdb}}.
Usage
In ~90% of cases, it is not necessary to supply |name=
and |id=
parameters, since it defaults to the article name (i.e. {{PAGENAME}}
), which usually results in a correct external link. Thus, when used in the Other websites section, the following is usually sufficient
==Other websites== * {{JPL small body}}
However, the template has two optional parameters:
|name=
by default, this equal to the pagename ({{PAGENAME}}). Use this parameter when the pagename does not match what should be displayed by the template.|id=
used to override the default url to the database. Use this parameter when the default url does not result in a correct external link. Place the full SPK-ID found on the JPL database here. For example, 2867 Šteins has an SPK-ID of 2002867, so use|id=2002867
.
Those will be relevant when diacritics, apostrophes, parentheses, or other special characters are used in the pagenames
- The article name contains diacritics (e.g. 2867 Šteins) - JPL Small Body Database does not support diacritics. In this case, use
{{JPL small body|id=2002867}}
- The article name contains apostrophes (e.g. 21774 O'Brien) - a bug in the MediaWiki urlencode function results in a malformed external link. In this case, use
{{JPL small body|id=2021774}}
. - The article name is the asteroid's provisional name (e.g. (8619) 1981 EH1) - JPL Small Body Database search does not accept this. In this case, use
{{JPL small body|id=2008619}}
).
Tracking categories
- Category:JPL Small-Body Database ID not in Wikidata (0 pages)
- Category:JPL Small-Body Database ID different from Wikidata (0 pages)
- Category:JPL Small-Body Database ID same as Wikidata (0 pages)
See also
- {{cite sbdb}}
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)