Difference between revisions of "Template:ARICNS link/doc"
Jump to navigation
Jump to search
blackwiki>Headbomb m (→Usage: ce) |
blackwiki>Vanisaac |
||
| Line 9: | Line 9: | ||
The template can also be used without keyword parameters by placing ''id'' first and ''label'' second. For example: | The template can also be used without keyword parameters by placing ''id'' first and ''label'' second. For example: | ||
* <nowiki>{{ARICNS link|01151|α Centauri|date=5 November 1998|accessdate=2016-09-16}}</nowiki> produces {{ARICNS link|01151|α Centauri|date=5 November 1998|accessdate=2016-09-16}} | * <nowiki>{{ARICNS link|01151|α Centauri|date=5 November 1998|accessdate=2016-09-16}}</nowiki> produces {{ARICNS link|01151|α Centauri|date=5 November 1998|accessdate=2016-09-16}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Astronomy external link templates]] | [[Category:Astronomy external link templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 23:08, 23 April 2020
| 40px | This is a documentation subpage for Template:ARICNS link. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Usage
This template is used to include a link to the astronomical database ARICNS. It should be called as {{ARICNS link|id=id|label=label}}, where id is the designation to be used in the ARICNS URL and label is the designation as it should appear on the page. For example:
- {{ARICNS link|id=01151|label=α Centauri|date=5 November 1998|accessdate=2016-09-16}} produces "α Centauri". ARICNS. Centre of Astronomy, Heidelberg University. 5 November 1998. Retrieved 2016-09-16.
The template can also be used without keyword parameters by placing id first and label second. For example:
- {{ARICNS link|01151|α Centauri|date=5 November 1998|accessdate=2016-09-16}} produces "α Centauri". ARICNS. Centre of Astronomy, Heidelberg University. 5 November 1998. Retrieved 2016-09-16.