Content deleted Content added
Update category |
Added documentation for new parameters (see template talk for more info) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 29:
|end_total = {{{end_total}}}
|end_partial = {{{end_partial}}}
|previous = {{{previous}}}
|next = {{{next}}}
}}
==Basic usage ==
This template uses information from the NASA Solar Eclipse Database when invoked using the following syntax
<
{{Infobox solar eclipse|YYYYMonDD}}
</syntaxhighlight>
Here, <code>YYYY</code> is the year, <code>Mon</code> is the three letter abbreviation for the month, and <code>DD</code> is the two digit abbreviation for the day. For example, <code>2015Mar20</code> for March 20, 2015.
===Images etc.. ===
A given value of <code>YYYYMonDD</code> automatically displays information from a matching date in one of the data pages at [[Special:PrefixIndex/Module:Solar eclipse/db]]. [[Module:Solar eclipse/db/200]] is for 2001–2050. Other template parameters including <code>image</code> may be ignored with no way to override the data page.
== Advanced usage ==
<
{{Infobox solar eclipse|YYYYMonDD
|date = <!-- {{Start date|YYYY|MM|DD}} -->
Line 65 ⟶ 70:
|end_total =
|end_partial =
|previous =
|next =
}}
</syntaxhighlight>
''nature'' should be "Total", "Annular", "Hybrid" or "Partial" (without speechmarks).
|