Lompat ke isi

Templat:Infobox bintang/doc: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
123569yuuift (bicara | kontrib)
Membuat Templat baru.
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
123569yuuift (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
Baris 107: Baris 107:
| inklinasi c =
| inklinasi c =
}}</pre>
}}</pre>
== Parameter ==
<!--[[File:Aquarius constellation map.svg|thumb|Setting {{Para|constellation}} to <code>Aquarius</code> produces a map of the constellation [[Aquarius]] as the lead image when {{Para|image}} is not active.]]
The {{Para|name}} parameter sets the name of the template, displayed in large, bold font at its heading. {{tl|Infobox star}} features a [[Wikipedia:WikiProject Maps/Conventions/Location maps|location map]] as a default lead image if {{Para|image}} is not active. It uses an English-language map of a constellation specified in {{Para|constellation}}, created by [[User:Bronger|Torsten Bronger]]. For example, [[:File:Orion constellation map.svg|a map of Orion]] will be displayed if the parameter is set to {{Para|constellation|Orion}}. This is achieved by fixing the infobox image to <code><nowiki>File:{{{constellation|}}} constellation map.svg</nowiki></code>, taking advantage of the maps' harmonised filenames [[Commons:Commons:File renaming|under Wikimedia Commons guidelines]]. The minimalist design of these vector maps are preferred over the maps published by the [[International Astronomical Union]] as [[Wikipedia:Manual of Style/Images#Choosing images|they are hard to read at a thumbnail level]]. A <code><nowiki><div></nowiki></code> phrase is used to create the location map instead of {{tl|Location map+}}, as the template, along with its variants, do not have support for frameless thumbnails, which allow users to display thumbnail sizes according to their preferences [[Wikipedia:Manual_of_Style/Images#Size|as advised by the Manual of Style]]. The Location map templates are by default fixed to 250px width, and any attempt to set it to a frameless width will result in a Lua error. A caption for the map is also fixed and the corresponding {{Para|caption}} parameter disabled if {{Para|image}} is not active. Its syntax is written as "{{xt|Location of <nowiki>{{{name|}}} in {{{constellation|}}}</nowiki> (circled)}}". Coordinates for the location map's circle will have to be inputted as well, through {{Para|map x}} and {{Para|map y}}. The circle used for the location map, [[:File:Red circle.svg]], is set to a width of 12px as default. This can be changed through a {{Para|map circle}} parameter, where its width in pixels, excluding the "{{xt|px}}" affix, can be inputted.

When an input for {{Para|image}} is detected, the location map is disabled entirely, through the use of an [[mw:Help:Extension:ParserFunctions##if|<code><nowiki>{{#if:}}</nowiki></code> parser function]]. In this instance, {{Para|image}} is used to input the filename of an image to be displayed as the lead image, excluding its "{{xt|File:}}" prefix. Per the [[Wikipedia:Manual_of_Style/Images#Size|Manual of Style's image size guidelines]], the width of the image is fixed to <code>frameless</code>, to ensure that users' preferences for thumbnail sizes are respected. Both {{Para|caption}} and {{Para|alt}} are also made active when {{Para|image}} is, with {{Para|caption}} intended to be used to input an appropriate descriptive caption for the image displayed in {{Para|image}}, and {{Para|alt}} intended to be used to input an [[Wikipedia:Manual of Style/Accessibility/Alternative text for images|alt caption]] for the same image. The use of {{tl|Longitem}} is highly encouraged if the caption is larger than a single line.

=== Parameters ===
{| class="wikitable"
! scope="col" | Cell
! scope="col" | Parameter
! scope="col" | Description
|-
! scope="row" colspan="2" | Summary
| style="background: #ecfcf4;"| A summary of the basic information about the star or star system, comprising its name, location, and distance. The "Summary" header name does not appear in the infobox at all, as its inclusion would unnecessarily take up space in the infobox; [[Wikipedia:What "Ignore all rules" means#Use common sense|it is presumed that casual readers would understand]] that this section is a basic summary even in the header's absence.
|-
! scope="row" | [[List of proper names of stars|Proper name]]
| <code>proper name</code>
| style="background: #ecfcf4;"| The proper name for the star, as defined by the [[International Astronomical Union]] and its [[IAU Working Group on Star Names|Working Group on Star Names]], if not already defined in the article title; the star's proper name might not be the article title because of [[Wikipedia:Article titles#Use commonly recognizable names|common name guidelines]]. A primary source for proper names of stars can be found at the Working Group's [https://www.iau.org/public/themes/naming_stars/ catalogue of star names]. When {{Para|proper name b}} and/or {{Para|proper name c}} is active, the position of this cell is moved down to the "Characteristics" section of the A star in the system, and described the proper name of the A star. This is achieved with multiple [[mw:Help:Extension:ParserFunctions##if|<code><nowiki>{{#if:}}</nowiki></code> parser functions]].
|-
! scope="row" | [[Constellation]]
| <code>constellation</code>
| style="background: #ecfcf4;"| The name of the constellation in which the star is located. The input for this parameter is directly tied to a wikilink, with the related syntax being "{{xt|<nowiki>[[{{{constellation|}}} (constellation)|{{{constellation|}}}]]</nowiki>}}", so only a bare input of the constellation's name is required, with no wikilink tags. This is also important as {{Para|constellation}} also inputs the name of the constellation into the lead image and its caption when {{Para|image}} is not active, as described in the "Header and image" section above.
|-
! scope="row" | [[Galaxy]]
| <code>galaxy</code>
| style="background: #ecfcf4;"| The name of the galaxy in which the star is located, if not the [[Milky Way]].
|-
! scope="row" | [[Celestial coordinate system|Coordinates]]
| <code>ascension</code>, <code>declination</code>
| style="background: #ecfcf4;"| The [[right ascension]] and [[declination]] of a star in the night sky. The use of {{tl|RA}} and {{tl|DEC}} for each parameter is highly encouraged. The two parts of the celestial coordinate system are merged into one cell as this arrangement takes up less space in the infobox than having them as separate cells. The coordinates are separated on two lines using {{tl|Unbulleted list}}, per the [[Wikipedia:Manual of Style/Text formatting|Manual of style guidelines on text formatting]].
|-
! scope="row" | [[Cosmic distance ladder|Distance]]
| <code>distance</code>
| style="background: #ecfcf4;"| The distance of the star from the [[Earth]] and [[Sun|the Sun]]. Use the units of [[light-year]]s, [[parsec]]s, or megaparsecs in their full spelling, when appropriate. For example, it would be appropriate to write the distance of the star in parsecs if it is located beyond the Milky Way.
|-
! scope="row" | [[Epoch (astronomy)|Epoch]]
| <code>epoch</code>
| style="background: #ecfcf4;"| The epoch in which certain time-sensitive information presented in the article would be, or was, true. [[Epoch (astronomy)#Julian years and J2000|J2000]] is the most common reference point for astronomers.
|-
! scope="row" colspan="2" | Characteristics
| style="background: #ecfcf4;"| A summary of the physical characteristics of the star. This header appears when any {{Para|b}} and {{Para|c}} parameters are not active. When any of those parameters are made active, the heading is converted into a heading bearing the [[Bayer designation]] name of the star being described in the section, which would be A, B, or C. This is achieved through the use of multiple [[mw:Help:Extension:ParserFunctions##if|<code><nowiki>{{#if:}}</nowiki></code> parser functions]].
|-
! scope="row" | [[Apparent magnitude|Apparent {{Mvar|m}}]]
| <code>magnitude</code>
| style="background: #ecfcf4;"| The apparent magnitude of the star as it appears from [[Earth]] in visible wavelengths. Use + and - symbols to denote a positive or negative {{Mvar|m}}. The cell label is truncated to "Apparent {{Mvar|m}}" so that the label column in the infobox is thin as possible as to allow the cell column to fit a reasonable amount of detail on a single line. <!--[[Absolute magnitude]] is not included in the infobox as it is mostly irrelevant to readers with only a casual interest in astronomy, and not necessary for readers gauging an understanding of how to observe the star with an everyday telescope. Apparent and absolute magnitudes in different wavelengths such as [[infrared]] are excluded for similar reasons. Such information can be presented in the article prose instead to ensure the infobox is [[Wikipedia:Manual_of_Style/Infoboxes#Purpose of an infobox|a summary of ''key'' facts]] that appear in an article, and not ''all'' facts.-->
|-
! scope="row" | [[Stellar classification|Spectral type]]
| <code>spectral</code>
| style="background: #ecfcf4;"| The star's spectral classification. A wikilink to the classification's proper name is highly encouraged. For example, "DA2" should wikilink to [[White dwarf]].
|-
! scope="row" | [[Stellar evolution|Age]]
| <code>age</code>
| style="background: #ecfcf4;"| The star's age in units of either millions of years or billions of years. If the star's age is greater than 1 billion years, use "{{xt|{{Mvar|n}} billion years}}", and if it is less, use "{{xt|{{Mvar|n}} million years}}"
|-
! scope="row" | [[Stellar mass|Mass]]
| <code>mass</code>
| style="background: #ecfcf4;"| The mass of the star in units of [[solar mass]]es. Be sure to wikilink the units used, as <code><nowiki>[[solar mass]]es</nowiki></code>.
|-
! scope="row" | [[Radius]]
| <code>radius</code>
| style="background: #ecfcf4;"| The radius of the star in units of [[solar radii]]. Be sure to wikilink the units used, as <code><nowiki>[[solar radii]]</nowiki></code>.
|-
! scope="row" | [[Stellar rotation|Rotation]]
| <code>rotation</code>
| style="background: #ecfcf4;"| The time it takes for a star to rotate once on its axis. Use either units of milliseconds, seconds, minutes, hours, days, or years where appropriate. For example, it would be inappropriate to write the rotation period of a pulsar as "{{xt|0.000046296 days}}" if it can be more easily written and understood as "{{xt|4 seconds}}".
|-
! scope="row" | [[Planetary system|Planets]]
| <code>planets</code>
| style="background: #ecfcf4;"| The [[List of named exoplanets|proper names of planets]] orbiting the star in order of closest to farthest periapsis, presented in a {{tl|Hlist}} format with wikilinks, if articles for the planets exist on Wikipedia. If no proper names exist, use their [[Bayer designation]] names, "a, b, c, etc."
|-
! scope="row" colspan="2" | Orbit
| style="background: #ecfcf4;"| A summary of the main four orbital parameters of the star – time, distance, shape, and tilt. This header always appears despite any segregation of the infobox into details about separate stars, distinguishing these four cells from the "Characteristics" cells for each star.
|-
! scope="row" | [[Orbital period|Period]]
| <code>period</code>
| style="background: #ecfcf4;"| The time it takes for a star to complete one orbit around its parent star. Use either units of minutes, hours, days, months, or years where appropriate. For example, it would be inapproporiate to write the orbital period of a star as "{{xt|0.0273973 years}}" if it can be more easily written and understood as "{{xt|10 days}}".
|-
! scope="row" | [[Semi-major and semi-minor axes|{{Mvar|a}} axis]]
| <code>axis</code>
| style="background: #ecfcf4;"| The distance of the star's [[Semi-major and semi-minor axes|Semi-major axis]] from its parent star. Use [[astronomical unit]]s, with the unit written as "{{xt|AU}}" to aid in keeping the cell as short as possible. The cell's header has been truncated to "{{Mvar|a}} axis", as {{Mvar|a}} is often used to describe the semi-major axis in orbital equations. For similar reasons to the truncation of the "Apparent {{Mvar|m}}" cell header, this is to ensure that the label column in the infobox is thin as possible as to allow the cell column to fit a reasonable amount of detail on a single line.
|-
! scope="row" | [[Orbital eccentricity|Eccentricity]]
| <code>eccentricity</code>
| style="background: #ecfcf4;"| The value that determines the shape of the orbit in orbital equations. A value of 0 is a circular orbit, values between 0 and 1 form an [[elliptic orbit]], 1 is a [[parabola|parabolic]] [[escape orbit]], and greater than 1 is a [[hyperbola]].
|-
! scope="row" | [[Orbital inclination|Inclination]]
| <code>inclination</code>
| style="background: #ecfcf4;"| The tilt of a star's orbit from the [[Rotation around a fixed axis|axis of rotation]] of its parent star. This value is measured in degrees, and should be denoted with a [[degree symbol]] (°).
|}

=== Expansion cells ===
{{Infobox
| title = Sirius
| headerstyle = font-size: 100%; background-color: #FFFFC0
| header1 = Sirius A
| label2 = [[Stellar classification|Spectral type]]
| data2 = A0mA1 Va
| header3 = Sirius B
| label4 = Spectral type
| data4 = DA2
}}

For articles or sections describing a star system, it would be appropriate to expand {{tl|Infobox star}} with a suite of parameters that add support for information on two-star and three-star systems. This is possible by simply adding a "b" or "c" to the end of parameter names under "Characteristics" and "Orbit", such as {{Para|radius b}} or {{Para|eccentricity c}}. "b" parameters help describe a secondary star in the system, while "c" parameters help describe a tertiary star in the system. Additionally, the {{Para|proper name}} parameter can be expanded with "b" and "c" names as well. When any "b" or "c" cell is active, the infobox design is rearranged from a structure describing a single star to that describing a star system. The "Characteristics" headings become title headers with the [[Bayer designation]] for the stars displayed; the "Orbit" headers remain consistent, however. When any particular "b" or "c" cell is active, [[mw:Help:Extension:ParserFunctions##if|<code><nowiki>{{#if:}}</nowiki></code> parsers]] check to see if a wikilink to that cell's label already exists in the infobox. If it does, the wikilink is removed, and if there is not, a wikilink is placed onto the label. An example on the right shows how the wikilink for {{Para|spectral b}}'s label is removed if one already exists for {{Para|spectral}}'s label. This is to comply with the [[Wikipedia:Manual of Style/Linking#Overlinking|Manual of Style's guidelines on overlinking]].-->

== Suksesi ==
== Suksesi ==
{{tl|Infobox Bintang}} dirancang untuk menggantikan rangkaian kerangka "Starbox" yang terutama digunakan sebagai kotak ringkasan sebelum standarisasi {{tl|Infobox}}. Mereka digunakan dari 2005 hingga 2019. Seri ini terdiri dari 15 templat terpisah, yang tujuannya sekarang telah digantikan <nowiki>{{Infobox Bintang}}</nowiki>. Seri "Starbox" secara keseluruhan menampilkan lebih banyak sel daripada <nowiki>{{Infobox Bintang}}</nowiki>, dan sering kali membahas detail yang melebihi [[Wikipedia:Manual_of_Style/Infoboxes#Purpose of an infobox|tujuan kotak info]] sebagai ringkasan (dan tidak menggantikan) fakta-fakta utama yang muncul dalam artikel. Ini menginspirasi dan menginformasikan pemilihan <nowiki>{{Infobox Bintang}}</nowiki>'s jumlah parameter dan sel yang terbatas, untuk mengatasi masalah ini. 15 template dari seri "Starbox" disajikan di bawah ini.
{{tl|Infobox Bintang}} dirancang untuk menggantikan rangkaian kerangka "Starbox" yang terutama digunakan sebagai kotak ringkasan sebelum standarisasi {{tl|Infobox}}. Mereka digunakan dari 2005 hingga 2019. Seri ini terdiri dari 15 templat terpisah, yang tujuannya sekarang telah digantikan <nowiki>{{Infobox Bintang}}</nowiki>. Seri "Starbox" secara keseluruhan menampilkan lebih banyak sel daripada <nowiki>{{Infobox Bintang}}</nowiki>, dan sering kali membahas detail yang melebihi [[Wikipedia:Manual_of_Style/Infoboxes#Purpose of an infobox|tujuan kotak info]] sebagai ringkasan (dan tidak menggantikan) fakta-fakta utama yang muncul dalam artikel. Ini menginspirasi dan menginformasikan pemilihan <nowiki>{{Infobox Bintang}}</nowiki>'s jumlah parameter dan sel yang terbatas, untuk mengatasi masalah ini. 15 template dari seri "Starbox" disajikan di bawah ini.

Revisi per 31 Agustus 2020 03.02

{{Infobox Bintang}} adalah {{Infobox}}template berbasis yang dirancang untuk menyajikan ringkasan fakta penting tentang bintang tertentu. Ini dimaksudkan untuk digunakan di bagian atas artikel tentang bintang, tetapi juga dapat digunakan di bagian tentang bintang dalam artikel tentang topik yang lebih luas atau terkait longgar, jika sesuai. Dirancang sebagai pengganti {{Starbox begin}} seri, fitur peta bintang terintegrasi dan bagian yang dapat dipertukarkan yang dapat diaktifkan dengan parameter sel sederhana, dengan dukungan untuk ringkasan sistem bintang ganda dan tripel. Ini adalah templat rumit yang terdiri dari masukan untuk 25 parameter, dengan hingga 24 parameter tambahan untuk perluasan saat meringkas informasi tentang sistem dua atau tiga bintang. Contoh <div> frase digunakan untuk membuat tanpa bingkai peta lokasi yang muncul sebagai gambar utama default, dan 37 {{#if:}} fungsi parser digunakan untuk bagian template yang dapat dipertukarkan.

Sintaksis

Alpha Centauri
Koordinat
  •  14j 39m 36.49400d
EposJ2000.0
Alpha Centauri A
Nama bintangRigil Kentaurus
Magnitudo s+0.01
Usia≈4.4 billion years
Massa1.100 massa matahari
Radius1,2234±0,0053 jari-jari matahari
Rotasi22±5,9 hari
Alpha Centauri B
Nama bintangToliman
Magnitudo s+1.33
Usia≈6.5 Juta tahun
Massa0.907 massa matahari
Radius0,8632±0,0037 solar radii
Rotasi36 hari
Orbit
Periode79,91±0,011 tahun
Sumbu a17,57±0,022°
Eksentrisitas0,5179±0,00076
Inklinasi79,205±0,041°
PSR B1257+12
Nama bintangLich
Koordinat
  •  13j 00m 01d
  •  +12° 40′ 57″
Jarak2,300 tahun cahaya
EposJ2000.0
Karakteristik
Usia1-3 juta tahun
Massa1.100 massa matahari
Radius1,2234±0,0053 jari-jari matahari
Rotasi6.219 milidetik
Planet

{{Infobox Bintang}}Fitur sintaks dasar dari 25 parameter untuk artikel atau bagian yang menjelaskan satu bintang. 12 parameter tambahan dapat digunakan untuk mengubah kotak info menjadi satu yang menggambarkan sistem bintang dua. Ini juga dapat diperluas dengan 12 parameter lain untuk mengubah kotak info menjadi satu yang menggambarkan. Contoh yang disajikan di sebelah kanan menunjukkan template seperti yang muncul saat parameter dasar digunakan untuk pulsar PSR B1257+12, dan ketika set 12 parameter pertama yang diperluas digunakan untuk sistem Alpha Centauri, dengan Proxima Centauri dikecualikan karena memiliki artikelnya sendiri. Sintaks untuk templat ini, dalam urutan dan jarak yang diinginkan, disajikan di bawah ini.

{{Infobox Bintang
| nama           = 
| gambar         = 
| keterangan     = 
| alt            = 
| peta x         = 
| peta y         = 
| map circle     = 
| nama bintang   = 
| rasi bintang   = 
| galaksi        = 
| aksensio       = 
| denklinasi     = 
| Jarak          = 
| epoch          = 
| magnitudo      = 
| spektrum       = 
| usia           = 
| massa          = 
| radius         = 
| rotasi         = 
| planet         = 
| periode        = 
| sumbu          = 
| eksentrisitas  = 
| inklinasi      = 

| nama bintang b = 
| magnitudo b    = 
| spektrum b     = 
| usia b         = 
| massa b        = 
| radius b       = 
| rotasi b       = 
| planet b       = 
| periode b      = 
| sumbu b        = 
| eksentrisitas b= 
| inklinasi b    = 

| nama bintang c = 
| magnitudo c    = 
| spektrum c     = 
| usia c         = 
| massa c        = 
| radius c       = 
| rotasi c       = 
| planet c       = 
| periode c      = 
| sumbu c        = 
| eksentrisitas c= 
| inklinasi c    = 
}}

Suksesi

{{Infobox Bintang}} dirancang untuk menggantikan rangkaian kerangka "Starbox" yang terutama digunakan sebagai kotak ringkasan sebelum standarisasi {{Infobox}}. Mereka digunakan dari 2005 hingga 2019. Seri ini terdiri dari 15 templat terpisah, yang tujuannya sekarang telah digantikan {{Infobox Bintang}}. Seri "Starbox" secara keseluruhan menampilkan lebih banyak sel daripada {{Infobox Bintang}}, dan sering kali membahas detail yang melebihi tujuan kotak info sebagai ringkasan (dan tidak menggantikan) fakta-fakta utama yang muncul dalam artikel. Ini menginspirasi dan menginformasikan pemilihan {{Infobox Bintang}}'s jumlah parameter dan sel yang terbatas, untuk mengatasi masalah ini. 15 template dari seri "Starbox" disajikan di bawah ini.

Lihat pula