Jump to content

Module:Location map/data/Earth

From Wikihoc
Location map of Earth
name Earth
border
coordinates
90
-180 ←↕→ 180
-90
map center Lua error: callParserFunction: function "#coordinates" was not found.
image World location map (equirectangular 180).svg
File:World location map (equirectangular 180).svg
image1 World location map (equirectangular 180).svg
File:World location map (equirectangular 180).svg


{{#titleparts:Module:Location map/data/Earth|3}} is a location map definition used to overlay markers and labels on an equirectangular projection map of [[Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]]. 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 "{{#titleparts:Module:Location map/data/Earth|1|3}}":

  • {{Location map|{{#titleparts:Module:Location map/data/Earth|1|3}} |...}}
  • {{Location map many|{{#titleparts:Module:Location map/data/Earth|1|3}} |...}}
  • {{Location map+|{{#titleparts:Module:Location map/data/Earth|1|3}} |...}}
  • {{Location map~|{{#titleparts:Module:Location map/data/Earth|1|3}} |...}}

Map definition

  • name = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    Name used in the default map caption
  • image = [[:File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]]
    The default map image, without "Image:" or "File:"

{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • image1 = [[:File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]]
    An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters

}}{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • image2 = [[:File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]]{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|
  • image3 = [[:File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]]

}}{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • image4 = [[:File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]]

}}

  • Alternative map image{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|s}} which can be displayed via the AlternativeMap parameter

}}{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • top = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    Latitude at top edge of map, in decimal degrees
  • bottom = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    Latitude at bottom edge of map, in decimal degrees
  • left = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    Longitude at left edge of map, in decimal degrees
  • right = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    Longitude at right edge of map, in decimal degrees

}}{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • x = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
  • y = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge

}}{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • mark = [[:File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.]] ([[File:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|8px]])
    The default mark image to display with this map. This can be overridden by the mark parameter in Template:Location map, which would otherwise default to Red pog.svg (File:Red pog.svg).

}}{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

  • marksize = Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.
    The default mark size (in pixels) for the mark image displayed with this map (should not include px, for example marksize=Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition., not marksize=Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.px). This can be overridden by the marksize parameter in Template:Location map, which would otherwise default to 8.

}} {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. | The map displayed as image1 can be used with the relief or AlternativeMap parameters. }} {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. | The map{{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|s}} displayed as image2 {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|/ image3}} {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|/ image4}} can be used with the AlternativeMap parameter. }} Examples may be found below or in the following: {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

}}

}} {{#if:Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition.|

Precision

{{#if:|{{{precision}}}| Longitude: from West to East this map definition covers {{#expr: ( Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. - Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. + 360 ) fmod 360 round 4}} degrees.

  • At an image width of 200 pixels, that is {{#expr: ( Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. - Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. + 360 ) fmod 360 / 200 round 4}} degrees per pixel.
  • At an image width of 1000 pixels, that is {{#expr: ( Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. - Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. + 360 ) fmod 360 / 1000 round 4}} degrees per pixel.

Latitude: from North to South this map definition covers {{#expr: Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. - Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. round 4}} degrees.

  • At an image height of 200 pixels, that is {{#expr: ( Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. - Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. ) / 200 round 4}} degrees per pixel.
  • At an image height of 1000 pixels, that is {{#expr: ( Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. - Lua error in Module:Location_map at line 42: "{{#titleparts:Module:Location map/data/Earth|1|3}}" is not a valid name for a location map definition. ) / 1000 round 4}} degrees per pixel.

}}}} {{#if:|

Examples using location map templates

{{{examples}}}

}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Earth',
	top = 90,
	bottom = -90,
	left = -180,
	right = 180,
	image = 'World location map (equirectangular 180).svg',
	image1='World location map (equirectangular 180).svg'}