Difference between revisions of "Module:Location map/data/Germany Rhine/doc"
blackwiki>Frietjes |
blackwiki>Frietjes |
||
| Line 13: | Line 13: | ||
| width = 260 | | width = 260 | ||
}} | }} | ||
| − | Example labeling "[[Duisburg]]": < | + | Example labeling "[[Duisburg]]": |
| − | : | + | <pre style="overflow:auto">{{Location map |
| − | + | | Germany Rhine | |
| − | + | | label = Duisburg | |
| − | + | | label_size = 90 <--percent 0-900% | |
| − | + | | caption = Show "Duisburg" on map | |
| − | + | | lat = 51.4377 | |
| − | + | | long = 6.7706 | |
| − | + | | background = #FFFF99 | |
| − | + | | float = right | |
| − | + | | width = 260 | |
| − | + | }}</pre> | |
{{-}} | {{-}} | ||
| Line 42: | Line 42: | ||
}} | }} | ||
Example for orange "[[Basel]]" at bottom: | Example for orange "[[Basel]]" at bottom: | ||
| − | < | + | |
| − | : | + | <pre style="overflow:auto">{{Location map |
| − | + | | Germany Rhine | |
| − | + | | label=Basel | position=left | |
| − | + | | label_size = 80 <--percent 0-900% | |
| − | + | | caption = Show "Basel" on map | |
| − | + | | lat = 47.5597 | |
| − | + | | long = 7.5805 | |
| − | + | | background = <!--orange-->#FFCC66 | |
| − | + | | float = right | |
| − | + | | width = 220 | |
| − | + | | AlternativeMap = <!--none(default)--> | |
| − | + | }}</pre> | |
{{-}} | {{-}} | ||
| Line 77: | Line 77: | ||
| float = right | width = 250 | | float = right | width = 250 | ||
}} | }} | ||
| − | < | + | |
| − | : | + | <pre style="overflow:auto">{{Location map many | Germany Rhine |
| − | + | | Show "Mannheim" & "Düsseldorf" | |
| − | + | | label = Mannheim | |
| − | + | | label_size = <!-- 0-900%--> 82 | |
| − | + | | lat=49.489 | long=8.469 | |
| − | + | | marksize=7 | position=left | |
| − | + | | bg = <!--gold-->#CCCC11 | |
| − | + | | label2=Düsseldorf |label2_size=99 | |
| − | + | | pos2=left | |
| − | + | | lat2 = 51.2251 | |
| − | + | | long2 = 6.7757 | |
| − | + | | bg2 = <!--bluegreen-->#66BBDD | |
| − | + | | label3 = Anytown | |
| − | + | | label3_size=93 | pos3=top | |
| − | + | | lat3_deg=48 | lat3_min=1.1 | |
| − | + | | lon3_deg=10 | lon3_min=0.0 | |
| − | + | | bg3 = <!--yellow-->#EEEE11 | |
| − | + | | float = right | width = 250 | |
| − | + | }}</pre> | |
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). | 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). | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| see also = | | see also = | ||
* [[Module:Location map/data/Germany]] | * [[Module:Location map/data/Germany]] | ||
Revision as of 17:51, 22 March 2018
| name | Rhine | |||
|---|---|---|---|---|
| border coordinates | ||||
| 53.56 | ||||
| 4 | ←↕→ | 12.02 | ||
| 46.48 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Rhine_watershed_closer.gif
| |||
| ||||
Module:Location map/data/Germany Rhine is a location map definition used to overlay markers and labels on an equirectangular projection map of Rhine. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Germany Rhine":
{{Location map | Germany Rhine | ...}}{{Location map many | Germany Rhine | ...}}{{Location map+ | Germany Rhine | ...}}{{Location map~ | Germany Rhine | ...}}
Map definition
name = Rhine- Name used in the default map caption
image = Rhine_watershed_closer.gif- The default map image, without "Image:" or "File:"
top = 53.56- Latitude at top edge of map, in decimal degrees
bottom = 46.48- Latitude at bottom edge of map, in decimal degrees
left = 4- Longitude at left edge of map, in decimal degrees
right = 12.02- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 8.02 degrees.
- At an image width of 200 pixels, that is 0.0401 degrees per pixel.
- At an image width of 1000 pixels, that is 0.008 degrees per pixel.
Latitude: from North to South this map definition covers 7.08 degrees.
- At an image height of 200 pixels, that is 0.0354 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0071 degrees per pixel.
Examples using location map templates
Example labeling "Duisburg":
{{Location map
| Germany Rhine
| label = Duisburg
| label_size = 90 <--percent 0-900%
| caption = Show "Duisburg" on map
| lat = 51.4377
| long = 6.7706
| background = #FFFF99
| float = right
| width = 260
}}
Example for orange "Basel" at bottom:
{{Location map
| Germany Rhine
| label=Basel | position=left
| label_size = 80 <--percent 0-900%
| caption = Show "Basel" on map
| lat = 47.5597
| long = 7.5805
| background = <!--orange-->#FFCC66
| float = right
| width = 220
| AlternativeMap = <!--none(default)-->
}}
Example showing Düsseldorf/Mannheim
Example showing "Düsseldorf" (and "Mannheim") on one map.
{{Location map many | Germany Rhine
| Show "Mannheim" & "Düsseldorf"
| label = Mannheim
| label_size = <!-- 0-900%--> 82
| lat=49.489 | long=8.469
| marksize=7 | position=left
| bg = <!--gold-->#CCCC11
| label2=Düsseldorf |label2_size=99
| pos2=left
| lat2 = 51.2251
| long2 = 6.7757
| bg2 = <!--bluegreen-->#66BBDD
| label3 = Anytown
| label3_size=93 | pos3=top
| lat3_deg=48 | lat3_min=1.1
| lon3_deg=10 | lon3_min=0.0
| bg3 = <!--yellow-->#EEEE11
| float = right | width = 250
}}
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).
See also
- Module:Location map/data/Germany
- Module:Location map/data/Germany Neckar
- Module:Location map/data/Germany Weser
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
