Difference between revisions of "Template:Circle of latitude"
Jump to navigation
Jump to search
imported>DePiep (add /doc) |
imported>DePiep |
||
Line 1: | Line 1: | ||
− | {{#switch: {{{1}}} | + | {{#switch: {{lc:{{{1}}}}} |
− | | | + | |tropical=23° 26′ 16″{{#ifeq:{{lc:{{{2}}}}}|convert| (or {{#expr:(23+((26+(16/60))/60))round 4}}°)}} |
− | | | + | |polar=66° 33′ 44″{{#ifeq:{{lc:{{{2}}}}}|convert| (or {{#expr:(66+((33+(44/60))/60))round 4}}°)}} |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:13, 24 October 2014
Usage
|tropical
or|polar
|convert
is optional.
- {{Circle of latitude|Tropical|convert}} → 23° 26′ 16″ (or 23.4378°)
- {{Circle of latitude|polar}} → 66° 33′ 44″
This template uses a continuously updating formula found at http://www.neoprogrammics.com/obliquity_of_the_ecliptic. Note that this formula calculates the Mean Ecliptic, not the True Ecliptic, because it doesn't correct for Nutation.
The above documentation is transcluded from Template:Circle of latitude/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |