Template:Nsx: Difference between revisions
Appearance
Content deleted Content added
don't show errors on this page |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{i|]}}}||''}}{{#if:{{{ly|{{{pc|]}}}}}}|{{#if:{{{d}}}|[[{{{1}}}{{!}}{{{n|{{{1}}}}}} ({{#if:{{{3|}}}||~}}'''{{rer|z=|{{plxtod|{{{2}}}}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}{{#if:{{#if:{{{3|}}}|{{#ifexpr:{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}<0|∞|{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}}}|}}|'''{{#if:{{#if:{{{3|}}}|{{#ifeq:{{rer|z=|{{plxtod|{{{2}}}|{{{4|{{{3|}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}|{{rer|z=|{{plxtod|{{{2}}}|{{{3|}}}|l}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}||{{rer|z=|{{plxtod|{{{2}}}|{{{3|}}}|l}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}}}|}}|{{su|p=+{{#if:{{{3|}}}|{{#ifexpr:{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}<0|∞|{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|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}}|[[{{{1}}}{{!}}{{{n|{{{1}}}}}} ({{#if:{{{3|]}}}||~}}'''{{{2}}}{{#if:{{{3|}}}|'''{{#if:{{{4|}}}|<span style="margin-left:0.3em;">{{su|p=+{{{3}}}|b=−{{{4}}}}}</span>|<span style="margin-left:0.3em;margin-right:0.15em">±</span>{{{3}}}}}'''}} {{#if:{{{pc|]}}}|ly|pc}}''')]]|{{{n|{{{1}}}}}} ({{#if:{{{3|]}}}||~}}'''{{{2}}}{{#if:{{{3|}}}|'''{{#if:{{{4|}}}|<span style="margin-left:0.3em;">{{su|p=+{{{3}}}|b=−{{{4}}}}}</span>|<span style="margin-left:0.3em;margin-right:0.15em">±</span>{{{3}}}}}'''}} {{#if:{{{pc|]}}}|ly|pc}}''')}}}}{{#if:{{{biii|}}}| |
<includeonly>{{#if:{{{i|]}}}||''}}{{#if:{{{ly|{{{pc|]}}}}}}|{{#if:{{{d}}}|[[{{{1}}}{{!}}{{{n|{{{1}}}}}} ({{#if:{{{3|]}}}||~}}'''{{rer|z=|{{plxtod|{{{2}}}}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}{{#if:{{#if:{{{3|}}}|{{#ifexpr:{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}<0|∞|{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}}}|}}|'''{{#if:{{#if:{{{3|}}}|{{#ifeq:{{rer|z=|{{plxtod|{{{2}}}|{{{4|{{{3|}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}|{{rer|z=|{{plxtod|{{{2}}}|{{{3|}}}|l}}|{{plxtod|{{{2}}}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plxtod|{{{2}}}|{{{3|}}}|l}}}}}}|}}}}| ± {{#if:{{{3|}}}|{{#ifexpr:{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}<0|∞|{{rer|z=|{{plxtod|{{{2}}}|{{#ifexpr:{{{2}}}={{{4|{{{3|0}}}}}}|{{#expr:{{{2}}}+1}}|{{{4|{{{3|}}}}}}}}|h}}|{{plxtod|{{{2}}}|{{{3|}}}|l}}}}}}|}}}}'''|}} pc''')}}|{{#if:{{{d}}}|[[{{{1}}}{{!}}{{{n|{{{1}}}}}} ({{#if:{{{3|]}}}||~}}'''{{{2}}}{{#if:{{{3|}}}|'''{{#if:{{{4|}}}|<span style="margin-left:0.3em;">{{su|p=+{{{3}}}|b=−{{{4}}}}}</span>|<span style="margin-left:0.3em;margin-right:0.15em">±</span>{{{3}}}}}'''}} {{#if:{{{pc|]}}}|ly|pc}}''')]]|{{{n|{{{1}}}}}} ({{#if:{{{3|]}}}||~}}'''{{{2}}}{{#if:{{{3|}}}|'''{{#if:{{{4|}}}|<span style="margin-left:0.3em;">{{su|p=+{{{3}}}|b=−{{{4}}}}}</span>|<span style="margin-left:0.3em;margin-right:0.15em">±</span>{{{3}}}}}'''}} {{#if:{{{pc|]}}}|ly|pc}}''')}}}}{{#if:{{{biii|}}}| |
||
*{{small|{{#ifeq:{{{biii}}}|1||{{{biii}}} }}BIII giant{{#ifeq:{{{biii}}}|1||s}}}}|}}{{#if:{{{biiil|}}}|{{small|{{#ifeq:{{{biii}}}|1| |: }}{{{biiil}}}}}|}}{{#if:{{{aiii|}}}| |
*{{small|{{#ifeq:{{{biii}}}|1||{{{biii}}} }}BIII giant{{#ifeq:{{{biii}}}|1||s}}}}|}}{{#if:{{{biiil|}}}|{{small|{{#ifeq:{{{biii}}}|1| |: }}{{{biiil}}}}}|}}{{#if:{{{aiii|}}}| |
||
*{{small|{{#ifeq:{{{aiii}}}|1||{{{aiii}}} }}AIII giant{{#ifeq:{{{aiii}}}|1||s}}}}|}}{{#if:{{{aiiil|}}}|{{small|{{#ifeq:{{{aiii}}}|1| |: }}{{{aiiil}}}}}|}}{{#if:{{{fiii|}}}| |
*{{small|{{#ifeq:{{{aiii}}}|1||{{{aiii}}} }}AIII giant{{#ifeq:{{{aiii}}}|1||s}}}}|}}{{#if:{{{aiiil|}}}|{{small|{{#ifeq:{{{aiii}}}|1| |: }}{{{aiiil}}}}}|}}{{#if:{{{fiii|}}}| |
Revision as of 06:10, 4 July 2015
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