Template:JPL/sandbox
![]() | This is the template sandbox page for Template:JPL (diff). |
![]() | This template is used on approximately 1,300 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
[edit]This template creates an external link to the JPL Small-Body Database Browser (SBDB) for a specific small Solar System body such as an asteroid or a comet.
First parameter: identifier
[edit]The required first parameter is the body's unique identifier. Several identifiers are possible:
- For minor-planets
{{JPL|2436}}
produces JPL, for numbered asteroid 2436 Hatshepsut{{JPL|2018+CN2}}
produces JPL, for provisionally designated asteroid 2018 CN2 (note the "+"-sign)
- For comets
{{JPL|17P}}
produces JPL, for numbered comet 17P/Holmes (note without "/" and name){{JPL|P/2011+NO1}}
produces JPL, for unnumbered comet P/2011 NO1 (note the "+"-sign)
- Using SPK-ID
- For special cases, use SBDB's interal reference key (spk-id). For example, comets with fragments (e.g. 205P/Giacobini, use
{{JPL|1000933}}
(JPL) instead of{{JPL|205P}}
(JPL) A body's spk-id is displayed in the title section at SBDB.
Second parameter: label
[edit]The optional second parameter is used as a replacement for the wikilink text. The default is "JPL"
as in all examples above. It may be changed to any given text. For example:
{{JPL|2436|(2436) Hatshepsut}}
→ (2436) Hatshepsut{{JPL|17P|Comet Holmes}}
→ Comet Holmes
- Close approach data
If the second parameter is named with |cad=
, a link to the object's close approach data (cad) section is produced instead.
Example for the near-Earth object 99942 Apophis:
{{JPL|99942|cad=Close approaches of Apophis}}
→ Close approaches of Apophis
See also
[edit]External link templates for minor planets
- {{AstDys}}
- {{DoMP}}
- {{ESA-SSA}}
- {{JA-BIN}}
- {{JPL}}
- {{JPL small body}}
- {{JPL+CAD}} (two links: JPL main page & "close approach data" section)
- {{LCDB}}
- {{MPC}}
- {{NeoDys}}
- {{M+J}} (combines MPC & 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)
- Header
- {{List of minor planets/intro}} (/core) (LoMP lead)
- {{MinorPlanetNameMeaningsDisclaimer}} (MoMP lead)
- {{TOC001}} (LoMP & MoMP page navigation)
- {{TOC LONMP}} (LoNMP alphabetical navigation)
- {{TOC LONMP2}} (LoNMP numerical navigation)
- {{List of named minor planets by number header}} (LoNMP lead)
- {{List of named minor planets by letter header}} (LoNMP lead)
- Body
- {{List of minor planets/header2}} (LoMP wikitable)
- {{MinorPlanetNameMeaningsTableHeader}} (MoMP wikitable)
- {{MoMP description available}} (MoMP aid)
- {{List of unnumbered minor planets header}} (LoUMP wikitable)
- Footer
- {{List of minor planets/See also}} (LoMP)
- {{MinorPlanetNameMeanings/See also}} (MoMP)
- {{List of minor planets/footer}} (LoMP prev–next)
- {{MinorPlanetNameMeaningsFooter}} (/core) (MoMP prev–next)
- {{List of minor planets}} (LoMP collapsed navbox)
- {{Meanings of minor-planet names}} (MoMP collapsed navbox)