模板: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
数字可选