Difference between revisions of "Template:Cite sbdb"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(ce)
imported>Tom.Reding
(Make "accessdate" an alias to "access-date" to match all the citation templates in Module:Citation/CS1)
Line 4: Line 4:
 
  |work=[[JPL Small-Body Database]]
 
  |work=[[JPL Small-Body Database]]
 
  |publisher=[[Jet Propulsion Laboratory]]
 
  |publisher=[[Jet Propulsion Laboratory]]
  |accessdate={{{accessdate|}}}
+
  |access-date={{#if:{{{access-date|}}}|{{{access-date|}}}|{{{accessdate|}}}}}
 
  |id=<!--
 
  |id=<!--
 
-->{{hide in print|{{#if:{{{id|}}}|SPK-ID:&nbsp;[http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}} {{{id<includeonly>|</includeonly>}}}]}}}}<!--
 
-->{{hide in print|{{#if:{{{id|}}}|SPK-ID:&nbsp;[http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}} {{{id<includeonly>|</includeonly>}}}]}}}}<!--

Revision as of 03:09, 30 March 2016

"Title". JPL Small-Body Database. Jet Propulsion Laboratory. Template:Only in print.

Template documentation[view] [edit] [history] [purge]

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

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

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

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

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

See also