Difference between revisions of "Template:Cite sbdb"

From blackwiki
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
+
{{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|}}}|&#59;orb{{=}}1&#35;org|{{#if:{{{cad|}}}|&#59;cad{{=}}1&#35;cad|{{#if:{{{cov|}}}|&#59;cov{{=}}1&#35;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|}}}|&#59;orb{{=}}1&#35;org|{{#if:{{{cad|}}}|&#59;cad{{=}}1&#35;cad|{{#if:{{{cov|}}}|&#59;cov{{=}}1&#35;cov}}}}}}}}
 
  |work=[[JPL Small-Body Database]]
 
  |work=[[JPL Small-Body Database]]
 
  |publisher=[[Jet Propulsion Laboratory]]
 
  |publisher=[[Jet Propulsion Laboratory]]
  |access-date={{#if:{{{access-date|}}}|{{{access-date|}}}|{{{accessdate|}}}}}
+
  |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>}}}]}}}}<!--
 
-->{{only in print|{{#if:{{{id|}}}|SPK-ID:&nbsp;{{{id<includeonly>|</includeonly>}}}]}}}}
 
-->{{only in print|{{#if:{{{id|}}}|SPK-ID:&nbsp;{{{id<includeonly>|</includeonly>}}}]}}}}
 
}}<noinclude>
 
}}<noinclude>
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:03, 30 August 2020

"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