Template:LCDB/sandbox
Jump to navigation
Jump to search
| This is the template sandbox page for Template:LCDB (diff). |
Contents
Description
This template creates an external link for a given minor planet to Brian D. Warner's Light Curve Data Base (LCDB) at www.minorplanet.info, which follows the ALCDEF-specification (see "The Asteroid Lightcurve Data Exchange Format Standard", documentation). As of 2018, the LCDB contains photometric data, in particular, lightcurve measurements, for approximately 16,000 minor planets.
Usage
- The 1st parameter is for the minor planet's number (use
0if unnumbered) - The 2nd parameter is for the minor planet's provisional designation (use only if unnumbered)
Examples
- For 1222 Tina (numbered), use
{{LCDB|1222}}– This produces the following external link → LCDB
- For 2004 XP14 (unnumbered), use
{{LCDB|0|2004+XP14}}– This produces the following external link → LCDB
Notes
- Provisional designations: spaces must be replaced with
+or with%20(see examples below). - The 2nd parameter is optional for numbered minor planets, but required for unnumbered bodies, since their number part is always zero.
- For custom designated LCDB-entries are formatted identically, i.e. use
{{LCDB|0|Derm4c}}to produce a link to "Derm4c" (LCDB). - The target website at LCDB uses a non-UTF-8 encoding format. This makes the use of the magic word {{urlencode:}} impossible.
See also
Template:Minor planet link templates/See also
| The above documentation is transcluded from Template:LCDB/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |