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

Content deleted Content added
HectorMoffet (talk | contribs)
No edit summary
 
(33 intermediate revisions by 5 users not shown)
Line 1:
<!-- Categories and interwikis go at the bottom of this page. -->
<noinclude>'''**Template is Broken, formula for plotting does not work.**'''<br/></noinclude>{{#switch:{{{1}}}
{{Module:Location map/data/doc|image=[[File:USA Midwest and Northeast.svg|thumb|250px|Map of USA Northeast]]
| name = United States
|examples=
| x = 50.0 + 123 * ((2.5-({{{2}}}* pi / 180)) * sin(0.6010514667026994 * ({{{3}}} + 94) * pi / 180))
=== Location map, using default map (image) ===
| y = 50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ({{{2}}} * pi / 180)) * cos(0.6010514667026994 * ({{{3}}} + 96) * pi / 180)))
{{Location map/Info}} | USA_Northeast
| image = USA Northeast.svg
| width = 250
}}<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 = 250
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}}
=== Location map+, using default map (image) ===
|{{Location imagemap+ =| USA Northeast.svg
| width = 250
| caption = Two locations in Northeast
| places =
{{Location map~ | USA Northeast
| lat_deg = 42.358056
| lon_deg = -71.063611
| label = Boston
}}
{{Location map~ | USA Northeast
| lat_deg = 46.8
| lon_deg = -92.1
| label = Duluth
}}
}}
<pre style="width:30em">
{{Location map+ | USA Northeast
| width = 250
| caption = Two locations in Northeast
| places =
{{Location map~ | USA Northeast
| lat_deg = 42.358056
| lon_deg = -71.063611
| label = Boston
}}
{{Location map~ | USA Northeast
| lat_deg = 46.8
| lon_deg = -92.1
| label = Duluth
}}
}}
</pre>
{{clear}}
}}
<includeonly>
<!-- Categories and interwikis go here: -->
[[Category:United States ___location map templatesmodules|Northeast]]
 
</includeonly>