Difference between revisions of "Module:Location map/data/Germany Rhine/doc"
blackwiki>Frietjes m (Frietjes moved page Template:Location map GermanyRhine/doc to Module:Location map/data/Germany Rhine/doc) |
blackwiki>Frietjes |
||
| Line 1: | Line 1: | ||
| − | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | |
| − | <!-- PLEASE ADD CATEGORIES | + | {{Module:Location map/data/doc |
| − | + | | examples = | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Location map | {{Location map | ||
| − | | | + | | Germany Rhine |
| label = Duisburg | | label = Duisburg | ||
| label_size = 90 <!-- percent 0-900% --> | | label_size = 90 <!-- percent 0-900% --> | ||
| Line 51: | Line 15: | ||
Example labeling "[[Duisburg]]": <code> | Example labeling "[[Duisburg]]": <code> | ||
:<nowiki>{{Location map</nowiki> | :<nowiki>{{Location map</nowiki> | ||
| − | :<nowiki>| | + | :<nowiki>| Germany Rhine</nowiki> |
:<nowiki>| label = Duisburg</nowiki> | :<nowiki>| label = Duisburg</nowiki> | ||
:<nowiki>| label_size = 90 <--percent 0-900%</nowiki> | :<nowiki>| label_size = 90 <--percent 0-900%</nowiki> | ||
| Line 66: | Line 30: | ||
<hr/> | <hr/> | ||
{{Location map | {{Location map | ||
| − | | | + | | Germany Rhine |
| label = Basel | position=right | | label = Basel | position=right | ||
| label_size = 80 <!-- percent 0-900% --> | | label_size = 80 <!-- percent 0-900% --> | ||
| Line 80: | Line 44: | ||
<code> | <code> | ||
:<nowiki>{{Location map</nowiki> | :<nowiki>{{Location map</nowiki> | ||
| − | :<nowiki>| | + | :<nowiki>| Germany Rhine</nowiki> |
:<nowiki>| label=Basel | position=left</nowiki> | :<nowiki>| label=Basel | position=left</nowiki> | ||
:<nowiki>| label_size = 80 <--percent 0-900%</nowiki> | :<nowiki>| label_size = 80 <--percent 0-900%</nowiki> | ||
| Line 98: | Line 62: | ||
Example showing "[[Düsseldorf]]" (and "[[Mannheim]]") on one map. | Example showing "[[Düsseldorf]]" (and "[[Mannheim]]") on one map. | ||
| − | {{Location map many | | + | {{Location map many | Germany Rhine |
| caption = Show "Mannheim" & "Düsseldorf" | | caption = Show "Mannheim" & "Düsseldorf" | ||
| label = Mannheim | label_size = <!-- 0-900%--> 82 | | label = Mannheim | label_size = <!-- 0-900%--> 82 | ||
| Line 114: | Line 78: | ||
}} | }} | ||
<code> | <code> | ||
| − | :<nowiki>{{Location map many | | + | :<nowiki>{{Location map many | Germany Rhine</nowiki> |
:<nowiki>| Show "Mannheim" & "Düsseldorf"</nowiki> | :<nowiki>| Show "Mannheim" & "Düsseldorf"</nowiki> | ||
:<nowiki>| label = Mannheim</nowiki> | :<nowiki>| label = Mannheim</nowiki> | ||
| Line 142: | Line 106: | ||
<hr/> | <hr/> | ||
{{Location map | {{Location map | ||
| − | | | + | | Germany Rhine |
| label = Düsseldorf | position = top | | label = Düsseldorf | position = top | ||
| label_size = <!--percent 0-900%--> 128 | | label_size = <!--percent 0-900%--> 128 | ||
| Line 154: | Line 118: | ||
Example labeling "[[Düsseldorf]]" on wrong-scale map:<code> | Example labeling "[[Düsseldorf]]" on wrong-scale map:<code> | ||
:<nowiki>{{Location map</nowiki> | :<nowiki>{{Location map</nowiki> | ||
| − | :<nowiki>| | + | :<nowiki>| Germany Rhine</nowiki> |
:<nowiki>| label = Düsseldorf | position = top</nowiki> | :<nowiki>| label = Düsseldorf | position = top</nowiki> | ||
:<nowiki>| label_size = <!-- 0-900%--> 128</nowiki> | :<nowiki>| label_size = <!-- 0-900%--> 128</nowiki> | ||
| Line 167: | Line 131: | ||
</code> | </code> | ||
{{-}} | {{-}} | ||
| + | | see also = | ||
| + | * [[Module:Location map/data/Germany]] | ||
| + | * [[Module:Location map/data/Germany Neckar]] | ||
| + | * [[Module:Location map/data/Germany Weser]] | ||
| − | + | }}<includeonly> | |
| − | |||
| − | |||
| − | <includeonly> | ||
<!-- CATEGORIES HERE, THANKS --> | <!-- CATEGORIES HERE, THANKS --> | ||
| − | |||
[[Category:Germany location map templates|Rhine]] | [[Category:Germany location map templates|Rhine]] | ||
[[Category:Maps of Germany|Rhine]] | [[Category:Maps of Germany|Rhine]] | ||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 17:28, 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
| |||
| 400x400px | ||||
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).
Example labeling "Düsseldorf" on wrong-scale map:
- {{Location map
- | Germany Rhine
- | label = Düsseldorf | position = top
- | label_size = <!-- 0-900%--> 128
- | caption = "Düsseldorf" put on wrong-scale map
- | lat = 51.2251
- | long = 6.7757
- | background = #FFFF99
- | float = right
- | width = 200
- | AlternativeMap = Germany location map.svg
- }}
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