Difference between revisions of "Template:LCDB/doc"
Jump to navigation
Jump to search
imported>Rfassbind m (→See also: {{Minor planet link templates/See also}}) |
imported>Rfassbind (revise and simplify since passing name is no longer an option) |
||
| Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
| − | * The ''1st parameter'' is for the | + | * The ''1st parameter'' is for the minor planet's ''number'' (use <code>0</code> if unnumbered) |
| − | * The ''2nd parameter'' is for the | + | * The ''2nd parameter'' is for the minor planet's ''provisional designation'' (use only if unnumbered) |
| − | |||
| − | ; For numbered | + | == Examples == |
| − | * <code><nowiki>{{LCDB| | + | ; For [[1222 Tina]] (numbered), use: |
| − | + | * <code><nowiki>{{LCDB|1222}}</nowiki></code> – This produces the following external link → {{LCDB|1222}} | |
| − | + | ; For [[2004 XP14]] (unnumbered), use: | |
| − | + | * <code><nowiki>{{LCDB|0|2004+XP14}}</nowiki></code> – This produces the following external link → {{LCDB|0|2004+XP14}} | |
| − | |||
| − | |||
| − | * <code><nowiki>{{LCDB|0|2004+XP14}}</nowiki></code> produces | ||
| − | |||
| − | |||
== Notes == | == Notes == | ||
| − | + | * ''[[Provisional designation in astronomy#Minor planets|Provisional designations]]'': spaces must be replaced with <code>+</code> or with <code>%20</code> ''(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 <code><nowiki>{{LCDB|0|Derm4c}}</nowiki></code> to produce a link to "Derm4c" ({{LCDB|0|Derm4c}}). |
| − | * | + | * The target website at LCDB uses a non-UTF-8 encoding format. This makes the use of the [[mw:Help:Magic words#URL data|magic word]] {{tlf|urlencode:}} impossible. |
== See also == | == See also == | ||
Revision as of 19:55, 18 February 2020
| 40px | This is a documentation subpage for Template:LCDB. It contains usage information, categories and other content that is not part of the original template page. |
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