Difference between revisions of "Template:Infobox solar eclipse/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pixeltoo
(+fr)
imported>Wikisaurus
m
 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
 
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{intricate template}}
+
{{Lua|Module:Solar eclipse}}
  
=== Usage ===
+
{{Infobox solar eclipse
 +
|date            = {{{date}}}
 +
|image            = {{{image}}}
 +
|caption          = {{{caption}}}
 +
|map              = {{{map}}}
 +
|map_caption      = {{{map_caption}}}
 +
|type_ref        = {{{type_ref}}}
 +
|nature          = {{{nature}}}
 +
|gamma            = {{{gamma}}}
 +
|magnitude        = {{{magnitude}}}
 +
|saros            = {{{saros}}}
 +
|saros_sequence  = {{{saros_sequence}}}
 +
|saros_total      = {{{saros_total}}}
 +
|max_eclipse_ref  = {{{max_eclipse_ref}}}
 +
|duration        = {{{duration}}}
 +
|location        = {{{location}}}
 +
|coords          = {{{coords}}}
 +
|max_width        = {{{max_width}}}
 +
|times_ref        = {{{times_ref}}}
 +
|start_partial    = {{{start_partial}}}
 +
|start_total      = {{{start_total}}}
 +
|start_central    = {{{start_central}}}
 +
|greatest_eclipse = {{{greatest_eclipse}}}
 +
|end_central      = {{{end_central}}}
 +
|end_total        = {{{end_total}}}
 +
|end_partial      = {{{end_partial}}}
 +
}}
 +
==Basic usage ==
 +
This template uses information from the NASA Solar Eclipse Database when invoked using the following syntax
 
<pre style="font-size:95%; overflow:auto;">
 
<pre style="font-size:95%; overflow:auto;">
{{Infobox Solar eclipse
+
{{Infobox solar eclipse|YYYYMonDD}}
|date         =  
+
</pre>
|image         =  
+
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.
|caption       =  
+
 
|map           =  
+
== Advanced usage ==
|map_caption   =  
+
<pre style="font-size:95%; overflow:auto;">
|type_ref     =  
+
{{Infobox solar eclipse|YYYYMonDD
|nature       =  
+
|date             = <!-- {{Start date|YYYY|MM|DD}} -->
|gamma         =  
+
|image           =  
|magnitude     =  
+
|caption         =  
|saros         =  
+
|map             =  
|saros_sequence =  
+
|map_caption     =  
|saros_total   =  
+
|type_ref         =  
|max_eclipse_ref =  
+
|nature           =  
|duration     =  
+
|gamma           =  
|location     =  
+
|magnitude       =  
|coords       =  
+
|saros           =  
|max_width     =  
+
|saros_sequence   =  
|times_ref     =  
+
|saros_total     =  
|start_partial =  
+
|max_eclipse_ref =  
|start_total   =  
+
|duration         =  
|start_central =  
+
|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 =  
 
|greatest_eclipse =  
|end_central   =  
+
|end_central     =  
|end_total     =  
+
|end_total       =  
|end_partial   =  
+
|end_partial     =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 36: Line 70:
 
''nature'' should be "Total", "Annular", "Hybrid" or "Partial" (without speechmarks).
 
''nature'' should be "Total", "Annular", "Hybrid" or "Partial" (without speechmarks).
  
 +
== Microformat ==
 +
{{UF-hcal-geo}}
  
<includeonly>
+
<includeonly>{{basepage subpage|
[[Category:Solar System templates|{{PAGENAME}}]]
+
[[Category:Astronomy infobox templates|Solar Eclipse]]
[[Category:Solar eclipses|τ{{PAGENAME}}]]
+
[[Category:Solar eclipse templates]]
 
+
[[Category:Solar System templates]]
[[de:Vorlage:Infobox Sonnenfinsternis]]
+
[[Category:Lua-based infobox templates]]
[[fr:Modèle:Infobox éclipse solaire]]
+
}}</includeonly>
[[ru:Шаблон:Солнечное затмение]]
 
[[zh:Template:Infobox Solar eclipse]]
 
</includeonly>
 

Latest revision as of 15:38, 10 October 2018

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

Template:UF-hcal-geo