Difference between revisions of "Module:Location map/data/Germany Neckar/doc"
blackwiki>Plastikspork |
|||
| Line 4: | Line 4: | ||
'''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": <code><nowiki>{{Location map | GermanyNeckar | ...}}</nowiki></code>. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image. | '''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": <code><nowiki>{{Location map | GermanyNeckar | ...}}</nowiki></code>. 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 | + | 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]]". |
[[Image:{{{{BASEPAGENAME}}|image}}|left|thumb|200px|Location map for {{{{BASEPAGENAME}}|name}}]] | [[Image:{{{{BASEPAGENAME}}|image}}|left|thumb|200px|Location map for {{{{BASEPAGENAME}}|name}}]] | ||
| Line 37: | Line 37: | ||
! skew | ! skew | ||
| {{{{BASEPAGENAME}}|skew}} | | {{{{BASEPAGENAME}}|skew}} | ||
| − | | to narrow longitudes; see {{tl|Location map | + | | to narrow longitudes; see {{tl|Location map}} |
|} | |} | ||
{{-}}<!-- force separation break --> | {{-}}<!-- force separation break --> | ||
== Usage == | == Usage == | ||
| − | For a description of the parameters, see {{tl|Location map | + | For a description of the parameters, see {{tl|Location map}}. |
== Examples == | == Examples == | ||
=== Mannheim === | === Mannheim === | ||
| − | The example on the left shows the correct placement of [[Mannheim]] when ''GermanyNeckar'' is used with | + | The example on the left shows the correct placement of [[Mannheim]] when ''GermanyNeckar'' is used with {{tl|Location map}}. |
| − | Note that the marker for "Mannheim" is west of the mark, due to narrow longitudes far north (on non-equirectangular map). Longitude lines converge to the center, so center towns would be positioned more accurately. The "polar" skew factor should be used (as in [[Template: | + | Note that the marker for "Mannheim" is west of the mark, due to narrow longitudes far north (on non-equirectangular map). 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]]) 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''). |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Location map | GermanyNeckar | {{Location map | GermanyNeckar | ||
| − | | width = 250 | float = | + | | width = 250 | float = right |
| caption = Example using ''Location map'' | | caption = Example using ''Location map'' | ||
| label = Mannheim | label_size = 90 | | label = Mannheim | label_size = 90 | ||
| Line 66: | Line 58: | ||
| lon_deg = 8.4691 | | lon_deg = 8.4691 | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<nowiki>{{</nowiki>Location map | GermanyNeckar | <nowiki>{{</nowiki>Location map | GermanyNeckar | ||
| − | | width = 250 | float = | + | | width = 250 | float = right |
| caption = Example using ''Location map'' | | caption = Example using ''Location map'' | ||
| label = Mannheim | label_size = 90 | | label = Mannheim | label_size = 90 | ||
| Line 83: | Line 66: | ||
| lon_deg = 8.4691 | | lon_deg = 8.4691 | ||
}} | }} | ||
| − | + | {{Clear right}} | |
=== Rottweil === | === Rottweil === | ||
| − | The example | + | The example shows the correct placement of [[Rottweil]] when ''GermanyNeckar'' is used with {{tl|Location map}}. |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Location map | GermanyNeckar | {{Location map | GermanyNeckar | ||
| − | | width = 250 | float = | + | | width = 250 | float = right |
| caption = Example using ''Location map'' | | caption = Example using ''Location map'' | ||
| label = Rottweil | label_size = 90 | | label = Rottweil | label_size = 90 | ||
| Line 103: | Line 78: | ||
| lon_deg = 08 | lon_min = 37 |lon_sec = 29 | | lon_deg = 08 | lon_min = 37 |lon_sec = 29 | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<nowiki>{{</nowiki>Location map | GermanyNeckar | <nowiki>{{</nowiki>Location map | GermanyNeckar | ||
| − | | width = 250 | float = | + | | width = 250 | float = right |
| caption = Example using ''Location map'' | | caption = Example using ''Location map'' | ||
| label = Rottweil | label_size = 90 | | label = Rottweil | label_size = 90 | ||
| Line 120: | Line 86: | ||
| lon_deg = 08 | lon_min = 37 |lon_sec = 29 | | lon_deg = 08 | lon_min = 37 |lon_sec = 29 | ||
}} | }} | ||
| − | + | {{Clear right}} | |
=== Multiple markers on one map === | === Multiple markers on one map === | ||
| − | The example on the left shows the correct placement of locations when ''GermanyNeckar'' is used with {{tl|Location map | + | The example on the left shows the correct placement of locations when ''GermanyNeckar'' is used with {{tl|Location map}}. |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Location map many | GermanyNeckar | {{Location map many | GermanyNeckar | ||
| − | | width = 250 | float = | + | | width = 250 | float = right |
| caption = Example using ''Location map many'' | | caption = Example using ''Location map many'' | ||
| label = Mannheim | label_size = 110 | | label = Mannheim | label_size = 110 | ||
| Line 156: | Line 106: | ||
| lon3_deg = 09 | lon3_min = 13 | | lon3_deg = 09 | lon3_min = 13 | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<nowiki>{{</nowiki>Location map many | GermanyNeckar | <nowiki>{{</nowiki>Location map many | GermanyNeckar | ||
| − | | width = 250 | float = | + | | width = 250 | float = right |
| caption = Example using ''Location map many'' | | caption = Example using ''Location map many'' | ||
| label = Mannheim | label_size = 100 | | label = Mannheim | label_size = 100 | ||
| Line 189: | Line 122: | ||
| lon3_deg = 09 | lon3_min = 13 | | lon3_deg = 09 | lon3_min = 13 | ||
}} | }} | ||
| − | + | {{Clear right}} | |
=== Rottweil on wrong map === | === Rottweil on wrong map === | ||
The example on the left shows the correct placement of [[Rottweil]] on the default map image. The example on the right shows the incorrect placement when a map using different border coordinates is specified via the ''AlternativeMap'' parameter. | The example on the left shows the correct placement of [[Rottweil]] on the default map image. The example on the right shows the incorrect placement when a map using different border coordinates is specified via the ''AlternativeMap'' parameter. | ||
| − | {{Location map | + | {{Location map | GermanyNeckar |
| width = 250 | float = left | | width = 250 | float = left | ||
| label = Rottweil | label_size = 110 | | label = Rottweil | label_size = 110 | ||
| Line 201: | Line 134: | ||
| lon_deg=08 | lon_min=37.5 | | lon_deg=08 | lon_min=37.5 | ||
}} | }} | ||
| − | {{Location map | + | {{Location map | GermanyNeckar |
| AlternativeMap = Karte Deutschland.png | | AlternativeMap = Karte Deutschland.png | ||
| width = 250 | float = right | | width = 250 | float = right | ||
| Line 211: | Line 144: | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
| − | <nowiki>{{</nowiki>Location map | + | <nowiki>{{</nowiki>Location map | GermanyNeckar |
| width = 250 | float = left | | width = 250 | float = left | ||
| label = Rottweil | label_size = 110 | | label = Rottweil | label_size = 110 | ||
| Line 219: | Line 152: | ||
| lon_deg=08 | lon_min=37.5 | | lon_deg=08 | lon_min=37.5 | ||
}} | }} | ||
| − | <nowiki>{{</nowiki>Location map | + | <nowiki>{{</nowiki>Location map | GermanyNeckar |
| AlternativeMap = Karte Deutschland.png | | AlternativeMap = Karte Deutschland.png | ||
| width = 250 | float = right | | width = 250 | float = right | ||
| Line 228: | Line 161: | ||
| lon_deg=08 | lon_min=37.5 | | lon_deg=08 | lon_min=37.5 | ||
}} | }} | ||
| − | + | {{Clear right}} | |
== See also == | == See also == | ||
* [[Template:Location map GermanyRhine]] | * [[Template:Location map GermanyRhine]] | ||
* [[Template:Location map GermanyWeser]] | * [[Template:Location map GermanyWeser]] | ||
<includeonly> | <includeonly> | ||
| − | <!-- CATEGORIES | + | <!-- CATEGORIES HERE, THANKS --> |
[[Category:Germany location map templates|Neckar]] | [[Category:Germany location map templates|Neckar]] | ||
[[Category:Maps of Germany]] | [[Category:Maps of Germany]] | ||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 04:16, 23 March 2014
| 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".
[[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}} |
Contents
Usage
For a description of the parameters, see {{Location map}}.
Examples
Mannheim
The example on the left shows the correct placement of Mannheim when GermanyNeckar is used with {{Location map}}.
Note that the marker for "Mannheim" is west of the mark, due to narrow longitudes far north (on non-equirectangular map). 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) 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).
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.
{{Location map | GermanyNeckar
| width = 250 | float = right
| caption = Example using Location map
| label = Mannheim | label_size = 90
| background = #CCCC11 | position = bottom
| lat_deg = 49.4890
| lon_deg = 8.4691
}}
Rottweil
The example shows the correct placement of Rottweil when GermanyNeckar is used with {{Location 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.
{{Location map | GermanyNeckar
| width = 250 | float = right
| caption = Example using Location map
| label = Rottweil | label_size = 90
| background = #FFCC66 | position = top
| lat_deg = 48 | lat_min = 10 |lat_sec = 05
| lon_deg = 08 | lon_min = 37 |lon_sec = 29
}}
Multiple markers on one map
The example on the left shows the correct placement of locations when GermanyNeckar is used with {{Location map}}.
Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/GermanyNeckar" does not exist.
{{Location map many | GermanyNeckar
| width = 250 | float = right
| caption = Example using Location map many
| label = Mannheim | label_size = 100
| bg = #CCCC11 | pos = bottom
| lat_deg = 49.4890
| lon_deg = 8.469
| label2 = Rottweil | label2_size = 100
| bg2 = #66BBDD | pos2 = top
| lat2_deg = 48 | lat2_min = 10
| lon2_deg = 08 | lon2_min = 37.5
| label3 = Heilbronn | label3_size = 90
| bg3 = #FFFF99 | pos3 = top
| lat3_deg = 49 | lat3_min = 9
| lon3_deg = 09 | lon3_min = 13
}}
Rottweil on wrong map
The example on the left shows the correct placement of Rottweil on the default map image. The example on the right shows the incorrect placement when a map using different border coordinates is specified via the AlternativeMap parameter.
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.
{{Location map | GermanyNeckar
| width = 250 | float = left
| label = Rottweil | label_size = 110
| position = top | background = #FFFF99
| caption = "Rottweil" put on correct map
| lat_deg=48 | lat_min=10
| lon_deg=08 | lon_min=37.5
}}
{{Location map | GermanyNeckar
| AlternativeMap = Karte Deutschland.png
| width = 250 | float = right
| label = Rottweil | label_size = 110
| position = top | background = #FFFF99
| caption = "Rottweil" put on wrong-scale map
| lat_deg=48 | lat_min=10
| lon_deg=08 | lon_min=37.5
}}