الگو:Infobox solar eclipse

از ویکی‌پدیا، دانشنامهٔ آزاد
(تغییرمسیر از الگو:Infobox Solar eclipse)
پرش به: ناوبری، جستجو
نماد توضیحات توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]
خورشیدگرفتگی {{{date}}}
{{{image}}}
{{{caption}}}
{{{map}}}
{{{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_sequence}}} از {{{saros_total}}})

Basic usage[ویرایش]

This template uses information from the NASA Solar Eclipse Database when invoked using the following syntax

{{Infobox solar eclipse|YYYYMonDD}}

Here, YYYY is the year, Mon is the three letter abbreviation for the month, and DD is the two digit abbreviation for the day. For example, 2015Mar20 for March 20, 2015.

Advanced usage[ویرایش]

{{Infobox solar eclipse|YYYYMonDD
|date             = <!-- {{تاریخ آغاز|YYYY|MM|DD}} -->
|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      = 
}}

nature should be "Total", "Annular", "Hybrid" or "Partial" (without speechmarks).

Microformat[ویرایش]

The HTML markup produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. Within the hCalendar is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates, but do not use any of these if the date is before 1583 CE). {{End date}} requires that a time be specified, but display of this time may be suppressed by adding |nodate=yes to the end.

To include a URL, use {{URL}}.

hCalendar uses HTML classes including:

  • attendee
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.
Also, when giving coordinates, please don't be overly precise.