Difference between revisions of "Template:AstDys/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Rfassbind
(→‎Example: amend doc)
blackwiki>Rfassbind
m (ce)
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
  
To be used in the External links section of any appropriate minor-planet object article. The template only requires the minor planet's number or its provisional designation as the only, unnamed parameter.  
+
To be used in the "External links" section of any appropriate minor-planet object article. The template only requires the minor planet's number or its provisional designation as the only, unnamed parameter.  Use the template as a list item with an asterisk (<code>*</code>).
 
* for main-belt asteroids use {{tl|AstDys}} which links to the [http://hamilton.dm.unipi.it/astdys/index.php?pc=0 AstDys site]
 
* for main-belt asteroids use {{tl|AstDys}} which links to the [http://hamilton.dm.unipi.it/astdys/index.php?pc=0 AstDys site]
 
* for near-Earth asteroids use {{tl|NeoDys}} which links to the [http://newton.dm.unipi.it/neodys2/index.php?pc=0 NeoDys site]
 
* for near-Earth asteroids use {{tl|NeoDys}} which links to the [http://newton.dm.unipi.it/neodys2/index.php?pc=0 NeoDys site]
Line 18: Line 18:
  
 
== Example ==
 
== Example ==
The first link always displays the title of the article (i.e. page name) where the template is placed in. Use the template as a list item with <code>*</code> in the external links section.
+
The first link always displays the title of the article (i.e. page name) where the template is placed in.
  
 
=== Numbered ===
 
=== Numbered ===

Revision as of 15:22, 21 April 2018

Description

The templates {{AstDys}} and {{NeoDys}} create a set of external links for a minor planet to the ESA sponsored AstDys and NeoDys websites of the University of Pisa, respectively.

Usage

To be used in the "External links" section of any appropriate minor-planet object article. The template only requires the minor planet's number or its provisional designation as the only, unnamed parameter. Use the template as a list item with an asterisk (*).

==External links==
* {{AstDys|number-or-provisional}}

==External links==
* {{NeoDys|number-or-provisional}}

Example

The first link always displays the title of the article (i.e. page name) where the template is placed in.

Numbered

* {{AstDys|666}} for the numbered main-belt asteroid 666 Desdemona, produces:

Unnumbered

* {{NeoDys|2001AV43}} for the unnumbered near-Earth object Template:Mpl, produces:

Note: enter provisional designations without space between year and alphanumeric code

See also

Template:Minor planet templates/See also