Module:Location map/data/Germany Neckar/doc
This is the documentation page for Module:Location map/data/Germany Neckar
| This is a documentation subpage for Module:Location map/data/Germany Neckar. It contains usage information, categories and other content that is not part of the original module page. |
Template:Location map GermanyNeckar is a location map definition used to overlay markers and labels on a map of Germany's Neckar River. It is used by "Template:Location map" when invoked with parameter "GermanyNeckar": {{Location map | GermanyNeckar | ...}}. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Because the map is not equirectangular, the coordinates will need to be adjusted to match northern-area mapping, or use skewed coordinates with "Template:Location map skew".
[[Image:Template:Location map/data/Germany Neckar|left|thumb|200px|Location map for Template:Location map/data/Germany Neckar]]
| Map parameters | ||
|---|---|---|
| name | Template:Location map/data/Germany Neckar | name used in default map caption |
| image | Template:Location map/data/Germany Neckar | file name of map image, without "Image:" or "File:" |
| top | Template:Location map/data/Germany Neckar | latitude at top of map |
| bottom | Template:Location map/data/Germany Neckar | latitude at bottom of map |
| left | Template:Location map/data/Germany Neckar | longitude at left edge of map |
| right | Template:Location map/data/Germany Neckar | longitude at right edge of map |
| skew | Template:Location map/data/Germany Neckar | to narrow longitudes; see {{Location map skew}} |
Usage
For a description of the parameters, see {{Location map}} and {{Location map skew}}.
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/GermanyNeckar" does not exist.
Example labeling "Heilbronn":
- {{Location map
- | GermanyNeckar
- | label = Heilbronn
- | label_size = 90 <--percent 0-900%
- | caption = Show "Heilbronn" on map
- | lat_deg = 49 | lat_min = 9
- | lon_deg = 09 | lon_min = 13
- | background = #FFFF99
- | float = right
- | width = 250
- }}
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/GermanyNeckar" does not exist.
Example for orange "Rottweil" at bottom:
- {{Location map
- | GermanyNeckar
- | label=Rottweil | position=left
- | label_size = 90 <--percent 0-900%
- | caption = Show "Rottweil" on map
- | lat_deg=48 | lat_min=10
- | lon_deg=08 | lon_min=37
- | background = <!--orange-->#FFCC66
- | float = right
- | width = 220
- | AlternativeMap = <!--none(default)-->
}}
Two examples, showing "Rottweil" & "Mannheim" with map position aligned (by using parameters "float=left" and "float=right"). Note that the marker for "Mannheim" is west of the mark, due to narrow longitudes far north (on non-equirectangular map). Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/GermanyNeckar" does not exist. Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/GermanyNeckar" does not exist. Longitude lines converge to the center, so center towns would be positioned more accurately. The "polar" skew factor should be used (as in Template:Location_map_skew) to scale longitude smaller near polar latitudes (relative to map height), and position longitudes from map center, rather than left-side base longitude (see example below).
Example skewing Rottweil/Mannheim
Example showing "Rottweil" (and "Mannheim") on one map.
- {{Location map skew | GermanyNeckar
- | Show "Mannheim" & "Rottweil"
- | skew=0.86
- | label = Mannheim
- | label_size = <!-- 0-900%--> 82
- | lat=49.489 | long=8.469
- | marksize=7 | position=top
- | bg = <!--gold-->#CCCC11
- | label2=Rottweil | label2_size=103
- | skew2=0.86 | pos2=bottom
- | lat2_deg=48 |lat2_min=10
- | lon2_deg=08 |lon2_min=37.5
- | bg2 = <!--bluegreen-->#66BBDD
- | label3 = Anytown
- | label3_size=93 | pos3=top
- | lat3_deg=49 | lat3_min=1.1
- | lon3_deg=8.5 | lon3_min=0.0
- | bg3 = <!--yellow-->#EEEE11
- | float = right | width = 250
}}
The map uses alternate Template:Location_map_skew. Note that the marker for "Mannheim" has been placed correctly now (had been west of the mark, due to narrow longitudes far north, on the non-equirectangular map).
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/GermanyNeckar" does not exist.
Example labeling "Rottweil" on wrong-scale map:
- {{Location map
- | GermanyNeckar
- | label = Rottweil | position = top
- | label_size = <!-- 0-900%--> 128
- | caption = "Rottweil" put on wrong-scale map
- | lat_deg=48 | lat_min=10
- | lon_deg=08 | lon_min=37.5
- | background = #FFFF99
- | float = right
- | width = 200
- | AlternativeMap = Karte Deutschland.png
- }}