Difference between revisions of "Module:Location map/data/Germany Hamburg/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tlustulimu
(interwiki)
m (20 revisions imported)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
<!--
+
{{Module:Location map/data/doc
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
+
| see also =
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
+
* [[Module:Location map/data/Germany]]
-->
 
This map templates is to be used in conjunction with {{tl|Location map}} to display a dot on a [[Hamburg]] map when location is given. It can also be used as part of {{tl|Infobox settlement}} using the "pushpin_map" parameters.
 
==Parameters==
 
[[image:Hamburg location map.svg|right|thumb|220px|Location map Hamburg]]
 
{| class="wikitable" width="240"
 
|-
 
| align="center" colspan="2" style="background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
| Top || 53.75
 
|-
 
| Bottom || 53.36666
 
|-
 
| Left || 9.7
 
|-
 
| Right || 10.53
 
|}
 
  
==Usage==
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
See {{tl|Location map}} for full syntax (e.g. button size, text, caption)
+
<!-- Categories below this line; interwikis at Wikidata -->
 
 
*Using degree-minute-second
 
<pre>
 
{{Location map
 
|Germany Hamburg 
 
|lat_deg    =
 
|lat_min    =
 
|lat_sec    =
 
|lat_dir    = N
 
|lon_deg    =
 
|lon_min    =
 
|lon_sec    =
 
|lon_dir    = E 
 
|caption    =
 
|width      = 220
 
}}
 
</pre>
 
 
 
*Using decimal degrees
 
<pre>
 
{{Location map|Germany Hamburg|lat=|long=|caption=Location of {{subst:PAGENAME}} in [[Hamburg]]}}
 
</pre>
 
 
 
<includeonly>
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
 
[[Category:Germany location map templates|Hamburg]]
 
[[Category:Germany location map templates|Hamburg]]
 
[[Category:Hamburg templates|Map]]
 
[[Category:Hamburg templates|Map]]
 
+
}}</includeonly>
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
[[da:Skabelon:Kortpositioner Hamborg]]
 
[[de:Vorlage:Positionskarte Deutschland Hamburg]]
 
[[dsb:Pśedłoga:LocMap Nimska Hamburg]]
 
[[eo:Ŝablono:Situo sur mapo Germanio Hamburgo]]
 
[[hsb:Předłoha:LocMap Němska Hamburg]]
 
[[ka:თარგი:პოზრუკა გერმანია ჰამბურგი]]
 
[[os:Шаблон:ПозКартæ Герман Гамбург]]
 
[[ru:Шаблон:ПозКарта Германия Гамбург]]
 
</includeonly>
 

Latest revision as of 06:47, 27 September 2020


Location map of Hamburg
name Hamburg
border
coordinates
53.75
9.7 ←↕→ 10.35
53.36666
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Germany Hamburg adm location map.svg
Germany Hamburg adm location map.svg
image1 Hamburg relief location map.png
Hamburg relief location map.png


Module:Location map/data/Germany Hamburg is a location map definition used to overlay markers and labels on an equirectangular projection map of Hamburg. 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 "Germany Hamburg":

Map definition

  • name = Hamburg
    Name used in the default map caption
  • bottom = 53.36666
    Latitude at bottom edge of map, in decimal degrees
  • left = 9.7
    Longitude at left edge of map, in decimal degrees
  • right = 10.35
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 0.65 degrees.

  • At an image width of 200 pixels, that is 0.0032 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0006 degrees per pixel.

Latitude: from North to South this map definition covers 0.3833 degrees.

  • At an image height of 200 pixels, that is 0.0019 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0004 degrees per pixel.


See also

Location map templates

Creating new map definitions