• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Sky

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 2,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
CSSThis template uses TemplateStyles:
  • Template:Sky/styles.css

This template is a copy of WikiProject Geographical coordinates templates. In this case, the template will link all types of astronomical objects to a sky map.

Usage

The template has 8 parameters. The first three are the right ascension (hours, minutes and seconds). The fourth is the declination sign (- for negative and + for positive). The next three parameters are the declination (degrees, minutes and seconds) and the last the distance in light years, used for calculating the zoom. The standard last parameter in constellations is the number 10.

Put this template at the end of astronomical object articles. See examples of usage in Andromeda Galaxy or Proxima Centauri articles.

Example

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

This indicates a position of

Right ascension: 00h 42m 44.30s
Declination: +41° 16′ 10″
Distance: 2,360,000 light years (723,500 parsecs)

Add |display=inline to put it inline: Sky map 00h 42m 44.30s, +41° 16′ 10″

Related templates

  • Template:Need sky

See also

  • Template:Coord
  • Template:RA
  • Template:DEC
The above documentation is transcluded from Template:Sky/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Sky&oldid=1794756"
Last edited on 14 July 2022, at 21:04

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 14 July 2022, at 21:04.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop