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

Content deleted Content added
HectorMoffet (talk | contribs)
No edit summary
 
(46 intermediate revisions by 5 users not shown)
Line 1:
<!-- Categories and interwikis go at the bottom of this page. -->
{{#switch:{{{1}}}
{{Module:Location map/data/doc|image=[[File:USA Midwest and Northeast.svg|thumb|250px|Map of USA Northeast]]
| name = United States
|examples=
| top = 46.9
=== Location map, using default map (image) ===
| bottom = 38
{{Location map/Info}} | USA_Northeast
| left = -98.783611
| rightwidth = -69.3833250
| lat_deg = 42.366303
| image = USA Northeast.svg
| lon_deg = -71.062228
}}<noinclude><!--
| label = Boston
--
}}
-- The above switch-statement branches by text in parameter #1,
<pre style="width:30em">
-- returning the associated value after each equals sign ("=").
{{Location map | USA_Northeast
-->
| width = 250
{{Location map/Info}}
| lat_deg = 42.366303
{{Documentation}}
| lon_deg = -71.062228
Category:Location map by country templates|United States
| label = Boston
Category:United States ___location map templates
}}
</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
| toplat_deg = 46.98
| 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>