Template:CelestialRef/test/doc

Examples
Any identifier recognized by Simbad for its sim-basic will do.

So, these are all possible:, , etc.

Displayed as:, ,.

This shows all the features in use: Example:

yields

Same example with commas instead of dashes :

yields

That might be useful in an article for a single celestial object, for instance, to add all those links in a footnote for the object which is the subject of the article.

Inline
Showing all the optoins, as inline instead of ref:

*

yields:

Using a different name for the internal link
You can use a different name for the internal link and the SIMBAD lookup.

yields:

Ref only
If you just want the ref without the name, use the same approach, but make the different name for the internal link blank, as in

Yields:

You can miix with other named parameters in any order, e.g.:

(same idea but added an extra named parameter at the end) Yields:

Which you could then add to some text as Test

Test

It doesn't matter where you put this blank field amongst the other parameters, so long as it goes after the object name.

Techy details - the template recognizes your blank field as parameter 2, the second unnamed parameter.

No internal link
If you just want the name without an internal link, add link=no as:

yields:

yields:

Siblings
You can add a link for siblings e.g.

This may be useful if the object is part of a larger group and this is relevant to the article citing it, in this case the Hyades super cluster.

Star plot
The advantage of the star plot extra link is that it lets the author of the page preset the radius for the plot. For some objects this needs to be large, e.g. 20 arcmins or more. For others, that shows far too many objects and a smaller radius in arcsecs is appropriate. Example:

yields  to plot stars within 5 arcmins of HD 189733b

Example:

yields  to plot stars within 50 arcsecs of Alpha Centauri

Use in tables
The template can be used in tables. This was the original motivation for this template - to have an easy way to add footnotes anad add extra links to the footnotes, for every entry in a table.

Here is an example to test it.

Confirmed Giant Planets around Mid- and Late-K-type Dwarf Stars
All entries are set to add the extra Bibliography link to the refs.

Example:

Data from Giant Planets around Late K Dwarf Stars - Table 1

Test cases
Included mainly to check all the features are working correctly, check this after editing the code and add more test cases if nec if you add new features.

Example:

yields

Example:

yields

Example: for ref only

yields

Example: to display as Andromeda Galaxy but look up as M 31

yields

Same example, name only, no internal link:

yields

Final example shows all the features in one ref

Example:

yields