Difference between revisions of "Template:Infobox solar eclipse/doc"
Jump to navigation
Jump to search
(Undid revision 709990241 by 219.79.127.115 (talk)) |
imported>Frietjes |
||
| Line 73: | Line 73: | ||
{{UF-hcal-geo}} | {{UF-hcal-geo}} | ||
| − | <includeonly> | + | <includeonly>{{basepage subpage| |
[[Category:Astronomy infobox templates|Solar Eclipse]] | [[Category:Astronomy infobox templates|Solar Eclipse]] | ||
[[Category:Solar eclipse templates]] | [[Category:Solar eclipse templates]] | ||
[[Category:Solar System templates]] | [[Category:Solar System templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 15:44, 12 July 2017
| This is a documentation subpage for Template:Infobox solar eclipse. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
| Solar eclipse of {{{date}}} | |
|---|---|
| {{{image}}} {{{caption}}} | |
{{{map}}} {{{map_caption}}} | |
| Type of eclipse{{{type_ref}}} | |
| Nature | {{{nature}}} |
| Gamma | {{{gamma}}} |
| Magnitude | {{{magnitude}}} |
| Maximum eclipse{{{max_eclipse_ref}}} | |
| Duration | {{{duration}}} |
| Location | {{{location}}} |
| Coordinates | {{{coords}}} |
| Max. width of band | {{{max_width}}} |
| Times (UTC){{{times_ref}}} | |
| (P1) Partial begin | {{{start_partial}}} |
| (U1) Total begin | {{{start_total}}} |
| (U2) Central begin | {{{start_central}}} |
| Greatest eclipse | {{{greatest_eclipse}}} |
| (U3) Central end | {{{end_central}}} |
| (U4) Total end | {{{end_total}}} |
| (P4) Partial end | {{{end_partial}}} |
| References | |
| Saros | {{{saros}}} ({{{saros_sequence}}} of {{{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 = <!-- {{Start 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