ಟೆಂಪ್ಲೇಟು:Location map USA Mass Cape Cod/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Location map USA Mass Cape Cod It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
Template:Location map USA Mass Cape Cod (or simply, Template:Location map Cape Cod) is a location map definition used to overlay markers and labels on an equirectangular projection map of Cape Cod, in the U.S. state of Massachusetts. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Usage
ಬದಲಾಯಿಸಿThese definitions are used by the following templates when invoked with parameter "Cape Cod":
{{Location map | Cape Cod | ...}}
{{Location map many | Cape Cod | ...}}
{{Location map+ | Cape Cod | ...}}
{{Location map~ | Cape Cod | ...}}
Map definition
ಬದಲಾಯಿಸಿname = Cape Cod
- Name used in the default map caption
image = USA Mass Cape Cod location map.svg
- The default map image, without "Image:" or "File:"
top = 42.104054
- Latitude at top edge of map, in decimal degrees
bottom = 41.488985
- Latitude at bottom edge of map, in decimal degrees
left = -70.844780
- Longitude at left edge of map, in decimal degrees
right = -69.778120
- Longitude at right edge of map, in decimal degrees
Examples using infobox templates
ಬದಲಾಯಿಸಿThis location map can be used in any infobox that accepts location maps (see the list in the collapsed section below, under "See also"). To use this map, simply enter "Cape Cod" where the infobox requires a location map name. Oftentimes, the parameter is called "|pushpin_map=
" or "|locmapin=
" or similar.
{{infobox_nrhp | ... | locmapin=Cape Cod | ... }}
{{Infobox settlement | ... |pushpin_map=Cape Cod | ... }}
{{Infobox lighthouse | ... |pushpin_map=Cape Cod | ... }}
Examples using location map templates
ಬದಲಾಯಿಸಿLocation map
ಬದಲಾಯಿಸಿLua error in ಮಾಡ್ಯೂಲ್:Location_map at line 526: Unable to find the specified location map definition: "Module:Location map/data/Cape Cod" does not exist.
{{Location map | Cape Cod | width = 250 | lat_deg = 41 | lat_min = 42 | lat_sec = 0 | lat_dir = N | lon_deg = 70 | lon_min = 18 | lon_sec = 0 | lon_dir = W | caption = [[Barnstable, Massachusetts|Barnstable]] is on [[Cape Cod]], [[Massachusetts]] | label = Barnstable }}
Location map with overlay and linked label
ಬದಲಾಯಿಸಿLua error in ಮಾಡ್ಯೂಲ್:Location_map at line 526: Unable to find the specified location map definition: "Module:Location map/data/Cape Cod" does not exist.
{{Location map | Cape Cod |overlay_image=USA Mass Cape Cod Provincetown overlay.svg |label=[[Provincetown, Massachusetts|Provincetown]] |link=Provincetown, Massachusetts <!-- must use a marker, but with the overlay, a pog is unnecessary, so use clear --> |mark=Clear pog.svg |lat_deg=42.033 |lon_deg=-70.169 |width=250 |float=right |caption=[[Provincetown]] is in [[Barnstable County]], at the very tip of [[Cape Cod]]. |alt=A map of Cape Cod, with the town colored bright red. }}
Location map many
ಬದಲಾಯಿಸಿLua error in ಮಾಡ್ಯೂಲ್:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/Cape Cod" does not exist.
{{Location map many | Cape Cod | width = 250 | caption = Locations on Cape Cod | lat1 = 41.7 | long1 = -70.3 | label1 = Barnstable | lat2 = 42.0583 | long2 = -70.1792 | label2 = Provincetown | lat3 = 41.830 | long3 = -69.974 | label3 = Eastham }}
Location map+
ಬದಲಾಯಿಸಿLua error in ಮಾಡ್ಯೂಲ್:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Cape Cod" does not exist.
Here is a fairly complex real-world example, showing 17 points and linked labels in a small 320px image. Careful experimentation with "|position=
" and "|background=
" allows us to legibly label the points:
Click to expand code for the lighthouse example
|
---|
{{Location map+ | Cape Cod | width = 320 | caption = The lighthouses of Cape Cod |alt=The lighthouses of Cape Cod | places = {{Location map~ | Cape Cod | lat = 41.51639 | long = -70.6575 | link=Nobska Light | label = [[Nobska Light|Nobska]] }} {{Location map~ | Cape Cod | lat = 41.68222 | long = -70.66028 |background=#fefee9 | link=Wing's Neck Light |label=[[Wing's Neck Light|Wing's Neck]] }} {{Location map~ | Cape Cod | lat = 41.72278 | long = -70.28111 |position=top | link=Sandy Neck Light |label=[[Sandy Neck Light|Sandy Neck]] }} {{Location map~ | Cape Cod | lat = 41.636278 | long = -70.2885 |position=bottom | link=Hyannis Harbor Light | label=[[Hyannis Harbor Light|Hyannis Harbor]] }} {{Location map~ | Cape Cod | lat = 41.574256 | long = -70.250056 |position=bottom | link=Bishop and Clerks Light | label=[[Bishop and Clerks Light|Bishop & Clerks]] }} {{Location map~ | Cape Cod | lat = 41.651733 | long = -70.169186 |position=top |background=#fefee9 | link=West Dennis Light | label = [[West Dennis Light|W.Dennis]] }} {{Location map~ | Cape Cod | lat = 42.021227 | long = -70.1935 |position=bottom | link=Wood End Light | label = [[Wood End Light|Wood End]] }} {{Location map~ | Cape Cod | lat = 42.033119 | long = -70.168653 |position=top |link=Long Point Light | label=[[Long Point Light| Long Pt.]] }} {{Location map~ | Cape Cod | lat = 42.062333 | long = -70.24472 |position=left | link=Race Point Light | label = [[Race Point Light|Race<br /> Pt.]] }} {{Location map~ | Cape Cod | lat = 42.039523 | long = -70.060938 |position=right | link=Highland Light | label = [[Highland Light|Highland]] }} {{Location map~ | Cape Cod | lat = 41.860139 | long = -69.952944 |position=right | link=Nauset Light | label = [[Nauset Light|Nauset]] }} {{Location map~ | Cape Cod | lat = 41.845 | long = -69.96 |position=bottom | link=Three Sisters of Nauset | label=[[Three Sisters of Nauset|Three Sisters]] }} {{Location map~ | Cape Cod | lat = 41.559333 | long = -69.993722 |position=right | link=Monomoy Point Light | label = [[Monomoy Point Light|Monomoy Point]] }} {{Location map~ | Cape Cod | lat = 41.658407 | long = -69.984471 |background=#c6ecff |position=bottom | link=Stage Harbor Light | label = [[Stage Harbor Light|Stage Harbor]] }} {{Location map~ | Cape Cod | lat = 41.9307 | long = -70.0343 |position=right | link=Mayo Beach Light | label = [[Mayo Beach Light|Mayo Beach]] }} {{Location map~ | Cape Cod | lat = 41.86889 | long = -70.07167 | link=Billingsgate Island Light | label=[[Billingsgate Island Light|Billingsgate Island]] }} {{Location map~ | Cape Cod | lat = 41.671307 | long = -69.96 |position=right | link=Chatham Light |label = [[Chatham Light|Chatham]] }} }} |
See also
ಬದಲಾಯಿಸಿ- Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
- Infobox templates incorporating (passing values to) the Location map template
- Template:Geobox
- Template:Infobox airport — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Infobox ancient site — alternative map support: relief
- Template:Infobox artwork
- Template:Infobox Australia state or territory
- Template:Infobox body of water
- Template:Infobox bridge
- Template:Infobox building — alternative map support: relief
- Template:Infobox casino
- Template:Infobox castrum — alternative map support: relief (via map_relief)
- Template:Infobox cave — alternative map support: relief
- Template:Infobox cemetery
- Template:Infobox civil conflict
- Template:Infobox climbing route — alternative map support: relief
- Template:Infobox church — alternative map support: relief
- Template:Infobox concentration camp
- Template:Infobox dam — alternative map support: relief
- Template:Infobox forest — alternative map support: relief
- Template:Infobox glacier — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox golf facility — alternative map support: relief
- Template:Infobox Hindu temple
- Template:Infobox historic site — alternative map support: relief (via map_relief)
- Template:Infobox hospital — alternative map support: relief
- Template:Infobox hut — alternative map support: relief
- Template:Infobox islands — alternative map support: relief
- Template:Infobox lighthouse — alternative map support: relief
- Template:Infobox military conflict — alternative map support: relief (via map_relief)
- Template:Infobox military installation — alternative map support: relief (via map_relief)
- Template:Infobox military operation
- Template:Infobox monastery
- Template:Infobox monument
- Template:Infobox mountain — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox mountain pass — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox museum — alternative map support: relief (via map_relief)
- Template:Infobox observatory
- Template:Infobox oil field — alternative map support: relief
- Template:Infobox oil refinery — alternative map support: relief
- Template:Infobox park — alternative map support: relief
- Template:Infobox power station — alternative map support: relief
- Template:Infobox protected area — alternative map support: relief
- Template:Infobox rail accident
- Template:Infobox reactor
- Template:Infobox religious building — alternative map support: relief
- Template:Infobox restaurant
- Template:Infobox school
- Template:Infobox settlement — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Infobox spring — alternative map support: relief
- Template:Infobox station
- Template:Infobox terrestrial impact site
- Template:Infobox tunnel
- Template:Infobox valley — alternative map support: relief
- Template:Infobox waterfall — alternative map support: relief
- Template:Infobox university
- Template:Infobox venue
- Template:Infobox World Heritage Site — alternative map support: relief