Difference between revisions of "Template:CelestialRefEx/doc"

From blackwiki
Jump to navigation Jump to search
imported>Robertinventor
Line 97: Line 97:
  
 
to plot stars within 50 arcsecs of Alpha Centauri
 
to plot stars within 50 arcsecs of Alpha Centauri
 +
 +
==See also==
 +
* {{tl|CelestialRef}}
 +
* {{tl|CelestialRefAll}}
  
 
<includeonly>
 
<includeonly>

Revision as of 05:51, 25 July 2013

Documentation

CelestialRefEx is suitable for use in External Links sections

It follows a similar format to Template:T

Example:

  • {{CelestialRefEx | Crab Nebula }}

Yields:

The other parameters you are most likely to use are Siblings = show and Plot = (radius in arcmins).

Parameter Example Usage
plot 10 Radius of star plot (if omitted, no star plot link added)
units arcsec Measurement unit for radius, arcsec, arcmin or deg acceptable, default arcmin
siblings show set to show to add link to siblings search
all hide set to hide to set the extra links to show individually. Default is 'show to show ids, bib, image, and bwimage (and any other options like that that may be added here in the future). Set to all=hide to add those individually
ids show set to show to add link to ids section of SIMBAD page. Shown anyway if all=show.
bib show set to show to add link to pre-expanded bibliography section. Shown anyway if all=show.
image show set to show to add link to aladin preview image, colour. Shown anyway if all=show.
bwimage show set to show to add link to aladin preview image, B&w. Shown anyway if all=show.

Note: siblings and plot are hidden by default, because many objects don't have siblings, and because the plot needs its radius set (otherwise plot may be too dense to read, or have nothing in it).

Techy note: uses Template:T

Examples

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

So, these are all possible:

  • {{CelestialRefEx | M 31}}
  • {{CelestialRefEx | Crab Nebula}}
  • {{CelestialRefEx | HD 189733b}}

etc.

Displayed as:

Siblings

You can add a link for siblings e.g. * {{ CelestialRefEx | GL 146 |siblings = show}}

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: * {{ CelestialRefEx | HD 189733b | plot = 5 }}

yields

to plot stars within 5 arcmins of HD 189733b

Example:

  • {{ CelestialRefEx | Alpha Centauri | plot = 50 | units = arcsec }}

yields

to plot stars within 50 arcsecs of Alpha Centauri

See also