Difference between revisions of "Template:ARICNS link/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
m (→‎Usage: ce)
blackwiki>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
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

Template:Underused

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: