Template:Nsx: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{i|]}}}||''}}{{#if:{{{b|]}}}||'''}}{{#if:{{{dl}}}|[[{{{1}}}{{#if:{{{n|}}}|{{!}}{{{n}}}|}}]]|{{{1}}}}}{{#if:{{{b|]}}}||'''}} ('''{{{2}}}{{#if:{{{3|}}}|'''{{#if:{{{4|}}}|{{±|{{{3}}}|{{{4}}}}}| ± {{{3}}}}}'''|}} ly''')<small>{{#if:{{{biii|}}}| |
{{#if:{{{i|]}}}||''}}{{#if:{{{b|]}}}||'''}}{{#if:{{{dl}}}|[[{{{1}}}{{#if:{{{n|}}}|{{!}}{{{n}}}|}}]]|{{{1}}}}}{{#if:{{{b|]}}}||'''}} ('''{{{2}}}{{#if:{{{3|}}}|'''{{#if:{{{4|}}}|{{±|{{{3}}}|{{{4}}}}}| ± {{{3}}}}}'''|}} ly''')<small>{{#if:{{{biii|}}}| |
||
*{{#ifeq:{{{biii}}}|1||{{{biii}}} }}BIII |
*{{#ifeq:{{{biii}}}|1||{{{biii}}} }}BIII giant{{#ifeq:{{{biii}}}|1||s}}|}}{{#if:{{{biiil|}}}|{{#ifeq:{{{biii}}}|1| |: }}{{{biiil}}}|}}{{#if:{{{aiii|}}}| |
||
*{{#ifeq:{{{aiii}}}|1||{{{aiii}}} }}AIII |
*{{#ifeq:{{{aiii}}}|1||{{{aiii}}} }}AIII giant{{#ifeq:{{{aiii}}}|1||s}}|}}{{#if:{{{aiiil|}}}|{{#ifeq:{{{aiii}}}|1| |: }}{{{aiiil}}}|}}{{#if:{{{fiii|}}}| |
||
*{{#ifeq:{{{fiii}}}|1||{{{fiii}}} }}FIII |
*{{#ifeq:{{{fiii}}}|1||{{{fiii}}} }}FIII giant{{#ifeq:{{{fiii}}}|1||s}}|}}{{#if:{{{fiiil|}}}|{{#ifeq:{{{fiii}}}|1| |: }}{{{fiiil}}}|}}{{#if:{{{giii|}}}| |
||
*{{#ifeq:{{{giii}}}|1||{{{giii}}} }}GIII |
*{{#ifeq:{{{giii}}}|1||{{{giii}}} }}GIII giant{{#ifeq:{{{giii}}}|1||s}}|}}{{#if:{{{giiil|}}}|{{#ifeq:{{{giii}}}|1| |: }}{{{giiil}}}|}}{{#if:{{{kiii|}}}| |
||
*{{#ifeq:{{{kiii}}}|1||{{{kiii}}} }}KIII |
*{{#ifeq:{{{kiii}}}|1||{{{kiii}}} }}KIII giant{{#ifeq:{{{kiii}}}|1||s}}|}}{{#if:{{{kiiil|}}}|{{#ifeq:{{{kiii}}}|1| |: }}{{{kiiil}}}|}}{{#if:{{{miii|}}}| |
||
*{{#ifeq:{{{miii}}}|1||{{{miii}}} }}MIII |
*{{#ifeq:{{{miii}}}|1||{{{miii}}} }}MIII giant{{#ifeq:{{{miii}}}|1||s}}|}}{{#if:{{{miiil|}}}|{{#ifeq:{{{miii}}}|1| |: }}{{{miiil}}}|}}{{#if:{{{av|}}}| |
||
*{{#ifeq:{{{av}}}|1||{{{av}}} }}AV-type star{{#ifeq:{{{av}}}|1||s}}|}}{{#if:{{{avl|}}}|{{#ifeq:{{{av}}}|1| |: }}{{{avl}}}|}}{{#if:{{{fv|}}}| |
*{{#ifeq:{{{av}}}|1||{{{av}}} }}AV-type star{{#ifeq:{{{av}}}|1||s}}|}}{{#if:{{{avl|}}}|{{#ifeq:{{{av}}}|1| |: }}{{{avl}}}|}}{{#if:{{{fv|}}}| |
||
*{{#ifeq:{{{fv}}}|1||{{{fv}}} }}FV-type star{{#ifeq:{{{fv}}}|1||s}}|}}{{#if:{{{fvl|}}}|{{#ifeq:{{{fv}}}|1| |: }}{{{fvl}}}|}}{{#if:{{{gv|}}}| |
*{{#ifeq:{{{fv}}}|1||{{{fv}}} }}FV-type star{{#ifeq:{{{fv}}}|1||s}}|}}{{#if:{{{fvl|}}}|{{#ifeq:{{{fv}}}|1| |: }}{{{fvl}}}|}}{{#if:{{{gv|}}}| |
Revision as of 04:01, 8 May 2014
[[{{{1}}}]] ({{{2}}} ly)
Overview
This template is for use in Star systems within {{N–M}} light-years navboxes (see below in By distance from Earth group of the Universe navboxes).
It displays the name of a celestial object, distance and its error and list of secondary objects of a system.
Usage
Name
- 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
- 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
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
- |i= — makes all text within this template italic, if presents
- |d= — makes the name of the star not link at all