Module:Location map/data/USA Midwest and Northeast/doc: Difference between revisions

Content deleted Content added
HectorMoffet (talk | contribs)
No edit summary
start
Line 1:
<!-- Categories and interwikis go at the bottom of this page. -->
<noinclude>'''**Template is somewhat broken, formula for plotting does not work precisely.**'''<br/></noinclude>{{#switch:{{{1}}}
{{Module:Location map/data/USA_Northeast|image=[[File:USA_Northeast.svg|thumb|250px|Map of USA Northeast]]
| name = United States
|examples=
| x = 2.085*(50.0 + 124.03149777329222 * ((1.9694462586094064-(({{{2}}})* pi / 180)) * sin(0.6010514667026994 * ({{{3}}} + 96) * pi / 180))) -100*780/799
=== Location map, using default map (image) ===
| y = 2.08*(50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ({{{2}}} * pi / 180)) * cos(0.6010514667026994 * ({{{3}}} + 96) * pi / 180))))-100*82/518 -4.5
{{Location map/Info}} | USA_Northeast
| image = USA Northeast.svg
| width = 200
}}<noinclude><!--
| lat_deg = 42.366303
--
| lon_deg = -71.062228
-- The above switch-statement branches by text in parameter #1,
| label = Boston
-- returning the associated value after each equals sign ("=").
}}
-->
<pre style="width:30em">
{{Location map/Info}}
{{Location map | USA_Northeast
{{Documentation}}
| width = 200
Category:Location map by country templates|United States
| lat_deg = 42.366303
Category:United States ___location map templates
| lon_deg = -71.062228
46.9
| label = Boston
-97 ←↕→ -66.5
}}
38
</pre>
{{clear}}
 
 
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata: -->
 
 
 
</includeonly>