Template:Nsx

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Overview[edit]

This is template for using in CobdN navboxes and in Star systems within {{NM}} light-years navboxes (see below in By distance from Earth group of the Universe navboxes).

Displays name of a celestial object, distance and its error and list of secondary objects of a system.

Usage[edit]

Name[edit]

  • first parameter — link to the Wikipedia article
  • |n — displayed name of a celestial object (if absents, displayed name coincides with link to the Wikipedia article)

Distance[edit]

  • If |pc= and |ly= absent, input distance data are parallaxes in mas, and distance is displayed in pc
  • |pc= — if presents, and if |ly= absents, input and displayed distance unit is pc
  • |ly= — if presents, input and displayed distance unit is ly
  • second parameter — distance data
  • third parameter — error of distance data, if the fourth parameter is not specified; or top error of distance data, if the fourth parameter is specified. If absents or empty, error of distance is not displayed. If empty, "~" before distance is displayed
  • fourth parameter — bottom error of distance data

Secondary members[edit]

Parameters describing other members of a system (central body not included):

  • |biii — number of BIII-type giant stars
  • |biiil — list of BIII-type giant stars
  • |aiii — number of AIII-type giant stars
  • |aiiil — list of AIII-type giant stars
  • |fiii — number of FIII-type giant stars
  • |fiiil — list of FIII-type giant stars
  • |giii — number of GIII-type giant stars
  • |giiil — list of GIII-type giant stars
  • |kiii — number of KIII-type giant stars
  • |kiiil — list of KIII-type giant stars
  • |miii — number of MIII-type giant stars
  • |miiil — list of MIII-type giant stars
  • |av — number of A-type main-sequence stars
  • |avl — list of A-type main-sequence stars
  • |fv — number of F-type main-sequence stars
  • |fvl — list of F-type main-sequence stars
  • |gv — number of G-type main-sequence stars
  • |gvl — list of G-type main-sequence stars
  • |kv — number of K-type main-sequence stars
  • |kvl — list of K-type main-sequence stars
  • |mv — number of M-type main-sequence stars (red dwarfs)
  • |mvl — list of M-type main-sequence stars (red dwarfs)
  • |wd — number of white dwarf stars
  • |wdl — list of white dwarf stars
  • |s — number of stars of unspecified type
  • |sl — list of stars of unspecified type
  • |md — number of M-type brown dwarfs
  • |mdl — list of M-type brown dwarfs
  • |ld — number of L dwarfs
  • |ldl — list of L dwarfs
  • |td — number of T dwarfs
  • |tdl — list of T dwarfs
  • |yd — number of Y dwarfs
  • |ydl — list of Y dwarfs
  • |ybd — number of Y-type brown dwarfs
  • |ybdl — list of Y-type brown dwarfs
  • |bd — number of brown dwarfs of unspecified type
  • |bdl — list of brown dwarfs of unspecified type
  • |ysbd — number of Y-type sub-brown dwarfs
  • |ysbdl — list of Y-type sub-brown dwarfs
  • |p — number of planets
  • |pl — list of planets

Other[edit]

  • |i= — makes all text within this template italic, if presents
  • |d= — makes the name of the star not link at all

See also[edit]