Difference between revisions of "Template:Cite sbdb"
Jump to navigation
Jump to search
imported>Tom.Reding (Make "accessdate" an alias to "access-date" to match all the citation templates in Module:Citation/CS1) |
imported>Debresser m (Standardize.) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Cite web |
|title={{{title|<noinclude>Title</noinclude>}}} {{#if:{{{orbit|}}}|orbit diagram|{{#if:{{{cad|}}}|close-approach data|{{#if:{{{cov|}}}|covariance matrix|{{#if:{{{ephemeris|}}}|ephemeris}}}}}}}} | |title={{{title|<noinclude>Title</noinclude>}}} {{#if:{{{orbit|}}}|orbit diagram|{{#if:{{{cad|}}}|close-approach data|{{#if:{{{cov|}}}|covariance matrix|{{#if:{{{ephemeris|}}}|ephemeris}}}}}}}} | ||
|url={{hide in print|http://ssd.jpl.nasa.gov/{{#if:{{{ephemeris|}}}|horizons|sbdb}}.cgi?{{#if:{{{ephemeris|}}}|find_body{{=}}1&body_group{{=}}sb&|}}sstr{{=}}{{{id|}}}{{#if:{{{orbit|}}}|;orb{{=}}1#org|{{#if:{{{cad|}}}|;cad{{=}}1#cad|{{#if:{{{cov|}}}|;cov{{=}}1#cov}}}}}}}} | |url={{hide in print|http://ssd.jpl.nasa.gov/{{#if:{{{ephemeris|}}}|horizons|sbdb}}.cgi?{{#if:{{{ephemeris|}}}|find_body{{=}}1&body_group{{=}}sb&|}}sstr{{=}}{{{id|}}}{{#if:{{{orbit|}}}|;orb{{=}}1#org|{{#if:{{{cad|}}}|;cad{{=}}1#cad|{{#if:{{{cov|}}}|;cov{{=}}1#cov}}}}}}}} | ||
|work=[[JPL Small-Body Database]] | |work=[[JPL Small-Body Database]] | ||
|publisher=[[Jet Propulsion Laboratory]] | |publisher=[[Jet Propulsion Laboratory]] | ||
− | |access-date= | + | |access-date={{{access-date|{{{accessdate|}}}}}} |
|id=<!-- | |id=<!-- | ||
-->{{hide in print|{{#if:{{{id|}}}|SPK-ID: [http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}} {{{id<includeonly>|</includeonly>}}}]}}}}<!-- | -->{{hide in print|{{#if:{{{id|}}}|SPK-ID: [http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}} {{{id<includeonly>|</includeonly>}}}]}}}}<!-- | ||
-->{{only in print|{{#if:{{{id|}}}|SPK-ID: {{{id<includeonly>|</includeonly>}}}]}}}} | -->{{only in print|{{#if:{{{id|}}}|SPK-ID: {{{id<includeonly>|</includeonly>}}}]}}}} | ||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{Documentation}} |
</noinclude> | </noinclude> |
Latest revision as of 21:03, 30 August 2020
"Title". JPL Small-Body Database. Jet Propulsion Laboratory. Template:Only in print.
![]() | This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Usage
This template is used to cite entries in the JPL Small Body Database.
|title=
The title of the entry. (mandatory)|id=
The SPK-ID of the entry. (mandatory)|access-date=
The date at which you accessed the JPL Small Body Database (optional). Alias: accessdate.
For example,
- {{cite sbdb |title=433 Eros (1898 DQ) |id=2000433 |access-date=2012-03-19}}
gives
- "433 Eros (1898 DQ)". JPL Small-Body Database. Jet Propulsion Laboratory. SPK-ID: 2000433Template:Only in print. Retrieved 2012-03-19.
- Orbit diagram
|orbit=
if set to yes, gives the orbit diagram of the object
For example,
- {{cite sbdb |title=433 Eros (1898 DQ) |id=2000433 |orbit=yes |access-date=2012-03-19}}
gives
- "433 Eros (1898 DQ) orbit diagram". JPL Small-Body Database. Jet Propulsion Laboratory. SPK-ID: 2000433Template:Only in print. Retrieved 2012-03-19.
- Close-approach data
|cad=
if set to yes, gives the close-approach data of the object
For example,
- {{cite sbdb |title=433 Eros (1898 DQ) |id=2000433 |cad=yes |access-date=2012-03-19}}
gives
- "433 Eros (1898 DQ) close-approach data". JPL Small-Body Database. Jet Propulsion Laboratory. SPK-ID: 2000433Template:Only in print. Retrieved 2012-03-19.
- Covariance matrix
|cov=
if set to yes, gives the close-approach data of the object
For example,
- {{cite sbdb |title=433 Eros (1898 DQ) |id=2000433 |cov=yes |access-date=2012-03-19}}
gives
- "433 Eros (1898 DQ) covariance matrix". JPL Small-Body Database. Jet Propulsion Laboratory. SPK-ID: 2000433Template:Only in print. Retrieved 2012-03-19..
- Ephemeris
|ephemeris=
if set to yes, gives the ephemeris of the object
For example,
- {{cite sbdb |title=433 Eros (1898 DQ) |id=2000433 |ephemeris=yes |access-date=2012-03-19}}
gives
- "433 Eros (1898 DQ) ephemeris". JPL Small-Body Database. Jet Propulsion Laboratory. SPK-ID: 2000433Template:Only in print. Retrieved 2012-03-19.
See also
- {{Cite APOD}}
- {{Cite simbad}}
- {{JPL small body}}
The above documentation is transcluded from Template:Cite sbdb/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |