Difference between revisions of "Template:AstDys/doc"
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 | + | 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
| This is a documentation subpage for Template:AstDys. It contains usage information, categories and other content that is not part of the original template page. |
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 (*).
- for main-belt asteroids use {{AstDys}} which links to the AstDys site
- for near-Earth asteroids use {{NeoDys}} which links to the NeoDys site
==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:
- AstDys/doc at AstDyS-2, Asteroids—Dynamic Site
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