Cách sử dụng

sửa

This template is part of a group of templates that are used to display information about a specific star. The list should always have {{Starbox begin}} as the first in the list, while the list should have {{Starbox end}} as the last in the list. This particular template can be used as follows. Each row in this Starbox is optional.

{{Starbox character
| engvar             =en-UK <!-- for articles written in variants of English where "colour" is the correct spelling -->
| type               =      <!--Type of star (e.g., main sequence star, protostar, white dwarf, neutron star, etc.)-->
| class              =      <!--Stellar class-->
| appmag_1_passband  =      <!-- Passband for first apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_1           =      <!-- Value of first apparent magnitude  -->
| appmag_2_passband  =      <!-- Passband for second apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_2           =      <!-- Value of second apparent magnitude  -->
| appmag_3_passband  =      <!-- Passband for third apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_3           =      <!-- Value of third apparent magnitude  -->
| appmag_4_passband  =      <!-- Passband for fourth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_4           =      <!-- Value of fourth apparent magnitude  -->
| appmag_5_passband  =      <!-- Passband for fifth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_5           =      <!-- Value of fifth apparent magnitude  -->
| appmag_6_passband  =      <!-- Passband for sixth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_6           =      <!-- Value of sixth apparent magnitude  -->
| appmag_7_passband  =      <!-- Passband for seventh apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_7           =      <!-- Value of seventh apparent magnitude  -->
| appmag_8_passband  =      <!-- Passband for eighth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_8           =      <!-- Value of eighth apparent magnitude  -->
| r-i                =      <!--R−I color-->
| v-r                =      <!--V−R color-->
| b-v                =      <!--B−V color-->
| u-b                =      <!--U−B color-->
| j-h                =      <!--J−H color-->
| j-k                =      <!--J−K color-->
| variable           =      <!--Variability type-->
}}

However, you can use the following syntax for two stars:

{{Starbox character
| engvar             = en-UK <!-- for articles written in variants of English where "colour" is the correct spelling -->
| component1         =       <!--Name of the first component-->
| type               =       <!--Type of star (e.g., main sequence star, protostar, white dwarf, neutron star, etc.)-->
| class              =       <!--Stellar class-->
| appmag_1_passband  =       <!-- Passband for first apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_1           =       <!-- Value of first apparent magnitude  -->
| appmag_2_passband  =       <!-- Passband for second apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_2           =       <!-- Value of second apparent magnitude  -->
| appmag_3_passband  =       <!-- Passband for third apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_3           =       <!-- Value of third apparent magnitude  -->
| appmag_4_passband  =       <!-- Passband for fourth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_4           =       <!-- Value of fourth apparent magnitude  -->
| appmag_5_passband  =       <!-- Passband for fifth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_5           =       <!-- Value of fifth apparent magnitude  -->
| appmag_6_passband  =       <!-- Passband for sixth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_6           =       <!-- Value of sixth apparent magnitude  -->
| appmag_7_passband  =       <!-- Passband for seventh apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_7           =       <!-- Value of seventh apparent magnitude  -->
| appmag_8_passband  =       <!-- Passband for eighth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_8           =       <!-- Value of eighth apparent magnitude  -->
| r-i                =       <!--R−I color-->
| v-r                =       <!--V−R color-->
| b-v                =       <!--B−V color-->
| u-b                =       <!--U−B color-->
| j-h                =       <!--J−H color-->
| j-k                =       <!--J−K color-->
| variable           =       <!--Variability type-->
| component2         =       <!--Name of the second component-->
| type2              =       <!--Type of star (e.g., main sequence star, protostar, white dwarf, neutron star, etc.)-->
| class2             =       <!--Stellar class-->
| appmag_1_passband2 =       <!-- Passband for first apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_1_2         =       <!-- Value of first apparent magnitude  -->
| appmag_2_passband2 =       <!-- Passband for second apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_2_2         =       <!-- Value of second apparent magnitude  -->
| appmag_3_passband2 =       <!-- Passband for third apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_3_2         =       <!-- Value of third apparent magnitude  -->
| appmag_4_passband2 =       <!-- Passband for fourth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_4_2         =       <!-- Value of fourth apparent magnitude  -->
| appmag_5_passband2 =       <!-- Passband for fifth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_5_2         =       <!-- Value of fifth apparent magnitude  -->
| appmag_6_passband2 =       <!-- Passband for sixth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_6_2         =       <!-- Value of sixth apparent magnitude  -->
| appmag_7_passband2 =       <!-- Passband for seventh apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_7_2         =       <!-- Value of seventh apparent magnitude  -->
| appmag_8_passband2 =       <!-- Passband for eighth apparent magnitude (e.g., H, J, K, etc.) -->
| appmag_8_2         =       <!-- Value of eighth apparent magnitude  -->
| r-i2               =       <!--R−I color-->
| v-r2               =       <!--V−R color-->
| b-v2               =       <!--B−V color-->
| u-b2               =       <!--U−B color-->
| j-h2               =       <!--J−H color-->
| j-k2               =       <!--J−K color-->
| variable2          =       <!--Variability type-->
}}

Multiple components

sửa

For multiple components, use

{{Starbox character
| component1 = Component 1
| type       = Type 1
| class      = Class 1
...
| component2 = Component 2
| type2      = Type 2
| class2     = Class 2
...
}}
{{Starbox character|no_heading=y
| component1 = Component 3
| type       = Type 3
| class      = Class 3
...
}}

The following templates are used together and are usually placed in the order listed below.

{{Starbox begin}}
{{Starbox image}}
{{Starbox observe}}
{{Starbox observe 2s}}
{{Starbox observe 3s}}
{{Starbox character}}
{{Starbox astrometry}}
{{Starbox orbit}}
{{Starbox detail}}
{{Starbox relpos}}
{{Starbox catalog}}
{{Starbox reference}}
{{Starbox sources}}
{{Starbox end}}

Xem thêm

sửa