Difference between revisions of "Module:Location map/data/Austria Upper Austria/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Edd of Mercia
(Created page with '{{tl|Module rating |<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <!...')
 
blackwiki>Lam-ang
(fix documentation)
Line 1: Line 1:
{{tl|Module rating |<!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call -->}}
 
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
 
 
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
 
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
 
}}</includeonly>
 
 
 
{{Module:Location map/data/doc|image=[[File:Austria Upper Austria location map.svg|thumb|250px|Map of Upper Austria]]
 
{{Module:Location map/data/doc|image=[[File:Austria Upper Austria location map.svg|thumb|250px|Map of Upper Austria]]
 
|examples=
 
|examples=
Line 27: Line 17:
 
}}
 
}}
 
</pre>
 
</pre>
{{clear}}
+
}}
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Austria location map templates|Upper Austria]]
 +
}}</includeonly>

Revision as of 16:52, 2 February 2018


Location map of Upper Austria
name Upper Austria
border
coordinates
48.780627593815
12.730407714844 ←↕→ 15.001831054688
47.443878776636
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Austria Upper Austria location map.svg
Austria Upper Austria location map.svg
image1 Austria Upper Austria relief location map.png
Austria Upper Austria relief location map.png
Map of Upper Austria

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

Map definition

  • name = Upper Austria
    Name used in the default map caption
  • bottom = 47.443878776636
    Latitude at bottom edge of map, in decimal degrees
  • left = 12.730407714844
    Longitude at left edge of map, in decimal degrees
  • right = 15.001831054688
    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 2.2714 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/Oberösterreich" does not exist.

{{Location map | Oberösterreich
| width   = 200
| lat_deg = 48.235556
| lon_deg = 14.226667
| label   = Linz
}}

See also

Location map templates

Creating new map definitions