Difference between revisions of "Template:Cite sbdb"

From blackwiki
Jump to navigation Jump to search
imported>Goodvac
(test)
imported>Goodvac
(fix)
Line 1: Line 1:
 
{{cite web
 
{{cite web
 
  |title={{{title|<noinclude>Title</noinclude>}}} {{#if:{{{orbit|}}}|orbit diagram}}
 
  |title={{{title|<noinclude>Title</noinclude>}}} {{#if:{{{orbit|}}}|orbit diagram}}
  |url={{hide in print|http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{id|}}}{{#ifeq:{{{orbit|}}}|yes|;orb{{=}}1}}|}}
+
  |url={{hide in print|http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{id|}}}{{#ifeq:{{{orbit|}}}|yes|;orb{{=}}1|}}
 
  |work=[[JPL Small-Body Database]]
 
  |work=[[JPL Small-Body Database]]
 
  |publisher=[[Jet Propulsion Laboratory]]
 
  |publisher=[[Jet Propulsion Laboratory]]

Revision as of 22:25, 19 March 2012

{{cite web

|title=Title 
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=

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

  • {{cite web
|title=433 Eros (1898 DQ) 
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=2000433

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

  • {{cite web
|title=433 Eros (1898 DQ) orbit diagram
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=2000433
orb=1


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

  • {{cite web
|title=433 Eros (1898 DQ) 
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=2000433

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

  • {{cite web
|title=433 Eros (1898 DQ) 
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=2000433
.
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

  • {{cite web
|title=433 Eros (1898 DQ) 
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=2000433

See also