Difference between revisions of "Template:Cite sbdb"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(-)
imported>Headbomb
(update)
Line 1: Line 1:
 
{{cite web
 
{{cite web
 
  |title={{{title|<noinclude>Title</noinclude>}}}
 
  |title={{{title|<noinclude>Title</noinclude>}}}
  |url={{hide in print|http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}}}}
+
  |url={{hide in print|http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{id|}}}}}
 
  |work=[[JPL Small-Body Database]]
 
  |work=[[JPL Small-Body Database]]
 
  |publisher=[[Jet Propulsion Laboratory]]
 
  |publisher=[[Jet Propulsion Laboratory]]
 
  |accesdate=={{accessdate|}}}
 
  |accesdate=={{accessdate|}}}
 
  |id=<!--
 
  |id=<!--
-->{{hide in print|SPK-ID:&nbsp;[http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}} {{{sstr|{{{id<includeonly>|</includeonly>}}}}}}]}}<!--
+
-->{{hide in print|{{#if{{{id|}}}|SPK-ID:&nbsp;[http://ssd.jpl.nasa.gov/sbdb.cgi?sstr{{=}}{{{sstr|{{{id|}}}}}} {{{id<includeonly>|</includeonly>}}}]}}<!--
-->{{only in print|SPK-ID:&nbsp;{{{sstr|{{{id<includeonly>|</includeonly>}}}}}}]}}
+
-->{{only in print|{{#if{{{id|}}}|SPK-ID:&nbsp;{{{id<includeonly>|</includeonly>}}}]}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:40, 19 March 2012

{{cite web

|title=Title
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=
|work=JPL Small-Body Database
|publisher=Jet Propulsion Laboratory
|accesdate==Template:Accessdate}
|id={{hide in print|{{#if|SPK-ID: {{{id}}}}}Template:Only in print
50px 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
|work=JPL Small-Body Database
|publisher=Jet Propulsion Laboratory
|accesdate==Template:Accessdate}
|id={{hide in print|{{#if2000433|SPK-ID: 2000433}}Template:Only in print
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)
|url=http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=2000433
|work=JPL Small-Body Database
|publisher=Jet Propulsion Laboratory
|accesdate==Template:Accessdate}
|id={{hide in print|{{#if2000433|SPK-ID: 2000433}}Template:Only in print
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
|work=JPL Small-Body Database
|publisher=Jet Propulsion Laboratory
|accesdate==Template:Accessdate}
|id={{hide in print|{{#if2000433|SPK-ID: 2000433}}Template:Only in print
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
|work=JPL Small-Body Database
|publisher=Jet Propulsion Laboratory
|accesdate==Template:Accessdate}
|id={{hide in print|{{#if2000433|SPK-ID: 2000433}}Template:Only in print.
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
|work=JPL Small-Body Database
|publisher=Jet Propulsion Laboratory
|accesdate==Template:Accessdate}
|id={{hide in print|{{#if2000433|SPK-ID: 2000433}}Template:Only in print

See also