跳至內容

模板:Infobox solar eclipse

被永久保護的模板
維基百科,自由的百科全書
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

用法

此模板只適用於日食出現日期的條目中,而月食請使用{{Infobox lunar eclipse}}。

編碼

{{{year}}}年{{{month}}}月{{{day}}}日日食
[[File:{{{image}}}|320px]]
{{{caption}}}
[[File:{{{map}}}|320px]]
{{{map_caption}}}
日食類型{{{type_ref}}}
性質{{{nature}}}
伽瑪{{{gamma}}}
食分{{{magnitude}}}
食甚{{{max_eclipse_ref}}}(定義
持續時間{{{duration}}}
位置{{{location}}}
坐標{{{coords}}}
日食帶寬度{{{max_width}}}
時間(UTC){{{times_ref}}}
初虧(P1){{{start_partial}}}
食既(U1){{{start_total}}}
中心食始(U2){{{start_central}}}
食甚{{{greatest_eclipse}}}
中心食終(U3){{{end_central}}}
生光(U4){{{end_total}}}
復圓(P4){{{end_partial}}}
參考
沙羅周期[[日食沙羅週期{{{saros}}}|{{{saros}}}]]({{{saros_total}}}次中的第{{{saros_sequence}}}次)
這次日食已經結束(更新)
{{Infobox solar eclipse
|year             = 
|month            = 
|day              = 
|image            = 
|caption          = 
|map              = 
|map_caption      = 
|type_ref         = 
|nature           = 
|gamma            = 
|magnitude        = 
|saros            = 
|saros_sequence   = 
|saros_total      = 
|max_eclipse_ref  = 
|duration         = 
|location         = 
|coords           = <!-- {{Coord|NNNNN|NNNNN|type:landmark|display=inline,title}} -->
|max_width        = <!-- {{Convert|NNNNN|km|abbr=on}} -->
|times_ref        = 
|start_partial    = 
|start_total      = 
|start_central    = 
|greatest_eclipse = 
|end_central      = 
|end_total        = 
|end_partial      = 
|hour             = 
|minute           = 
|second           = 
|durations        = 
}}

nature只可填日全食、日環食、全環食或日偏食。

參數

此資訊框可在特定日食條目中提供簡要的資訊。

模板參數[編輯模板資料]

參數描述類型狀態
year Year

日食出現的年份。

數值必填
month Month

日食出現的月份。

數值必填
day Day

日食出現的日子。

數值必填
圖片image Image

日食的圖片。

檔案非必填
圖片簡介caption Image intro

日食的圖片說明(只於有圖片時有效)。

字串非必填
路徑圖map

日食的路徑圖。

檔案非必填
路徑圖簡介map_caption

日食的路徑圖說明(只於有路徑圖時有效)。

字串非必填
性質nature Type

日食的類型,從「日全食」、「日環食」、「全環食」、「日偏食」中任選其一。

字串必填
伽瑪值gamma Gamma

日食時月球的伽瑪值。

數值非必填
食分magnitude Mag

日食食甚時的食分。

數值非必填
沙羅序列saros Saros

日食的沙羅序列。

數值非必填
沙羅序號數saros_sequence Saros seq

本次日食在沙羅序列中的序號數。

數值非必填
沙羅總數saros_total Saros total

沙羅序列中的日食總數(一般為71)。

數值非必填
持續時間duration Duration

食甚持續時間。

字串非必填
地點location Location

食甚發生地點。

字串非必填
坐標coords Coords

食甚發生地點的坐標。

字串非必填
日食帶寬度max_width Width

食甚時月球的影子直徑(覆蓋範圍)。

字串非必填
初虧start_partial Partial

整個日食(不論是否日偏食)的開始時間。

數值非必填
初虧/環食始start_total Start type

該日食類型的開始時間(若該日食類型是日偏食,則不需填寫)。

數值非必填
中心食始start_central Centre

日食的中心食開始時間。

數值非必填
食甚greatest_eclipse Greatest

食甚時間。

數值非必填
中心食終end_central

日食的中心食結束時間。

數值非必填
生光/環食終end_total

該日食類型的結束時間(若該日食類型是日偏食,則不需填寫)。

數值非必填
復圓end_partial

整個日食(不論是否日偏食)的結束時間。

數值非必填
hour Hour

倒數器的小時位置。

數值非必填
minute Minute

日食倒數器的分鐘位置。

數值非必填
second Second

日食倒數器的秒位置。

數值非必填
總時間durations Duration_s

日(偏)食的總時間(秒)。

預設
21600
數值非必填