Difference between revisions of "Module:Location map/data/North East England/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Kivo
(Created page with '{{Module rating |<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <!--...')
 
m (8 revisions imported)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Module rating |<!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call -->}}
+
<!-- Categories go at the bottom of this page. -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
+
{{Module:Location map/data/doc|name=North East England|projection=an [[equirectangular projection]]|examples=
== Usage ==
+
=== Location map, using default map (image) ===
 
+
{{Location map | North East England
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}
+
| width  = 250
 
+
| label  = Tyneside
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
| lat_deg = 54.9875
<!-- Categories below this line, please; interwikis at Wikidata -->
+
| lon_deg = -1.458333
 
+
}}
}}</includeonly>
+
<pre style="width:30em">
 +
{{Location map | North East England
 +
| width  = 250
 +
| label  = Tyneside
 +
| lat_deg = 54.9875
 +
| lon_deg = -1.458333
 +
}}
 +
</pre>
 +
}}
 +
<includeonly>
 +
<!-- Categories go here, and interwikis go on Wikidata: -->
 +
[[Category:England location map templates|North East]]
 +
</includeonly>

Latest revision as of 07:17, 27 September 2020


Location map of North East England
name North East England
border
coordinates
55.9
-2.75 ←↕→ -0.7
54.4
map center Lua error: callParserFunction: function "#coordinates" was not found.
image North East England districts 2011 map.svg
400x400px


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

Map definition

  • name = North East England
    Name used in the default map caption
  • bottom = 54.4
    Latitude at bottom edge of map, in decimal degrees
  • left = -2.75
    Longitude at left edge of map, in decimal degrees
  • right = -0.7
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Tyneside (North East England)
{{Location map | North East England
| width   = 250
| label   = Tyneside
| lat_deg = 54.9875
| lon_deg = -1.458333
}}

See also

Location map templates

Creating new map definitions