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

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create documentation)
 
blackwiki>Zyxw
(update documentation)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<includeonly>{{high-use| 36,000+ }}</includeonly>
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
 
 
[[File:France-CIA WFB Map.png|thumb|250px|Map of France]]
 
[[File:France-CIA WFB Map.png|thumb|250px|Map of France]]
  
Line 63: Line 65:
 
=== Location map, using default map (image) ===
 
=== Location map, using default map (image) ===
 
{{Location map | France
 
{{Location map | France
| width  = 250
+
| width  = 200
 
| lat_deg = 48.857
 
| lat_deg = 48.857
 
| lon_deg = 2.351
 
| lon_deg = 2.351
Line 70: Line 72:
 
<pre style="width:30em">
 
<pre style="width:30em">
 
{{Location map | France
 
{{Location map | France
| width  = 250
+
| width  = 200
 
| lat_deg = 48.857
 
| lat_deg = 48.857
 
| lon_deg = 2.351
 
| lon_deg = 2.351
Line 81: Line 83:
 
{{Location map many | France
 
{{Location map many | France
 
| relief  = yes
 
| relief  = yes
| width    = 250
+
| width    = 200
 
| caption  = Two locations in France
 
| caption  = Two locations in France
 
| lat1_deg = 48.857
 
| lat1_deg = 48.857
Line 93: Line 95:
 
{{Location map many | France
 
{{Location map many | France
 
| relief  = yes
 
| relief  = yes
| width    = 250
+
| width    = 200
 
| caption  = Two locations in France
 
| caption  = Two locations in France
 
| lat1_deg = 48.857
 
| lat1_deg = 48.857
Line 108: Line 110:
 
{{Location map+ | France
 
{{Location map+ | France
 
| AlternativeMap = France relief location map.jpg
 
| AlternativeMap = France relief location map.jpg
| width  = 250
+
| width  = 200
 
| caption = Two locations in France
 
| caption = Two locations in France
 
| places  =
 
| places  =
Line 125: Line 127:
 
{{Location map+ | France
 
{{Location map+ | France
 
| AlternativeMap = France relief location map.jpg
 
| AlternativeMap = France relief location map.jpg
| width  = 250
+
| width  = 200
 
| caption = Two locations in France
 
| caption = Two locations in France
 
| places  =
 
| places  =

Revision as of 16:21, 6 February 2013


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

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/France) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/France) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map, using default map (image)

{{Location map | France
| width   = 200
| lat_deg = 48.857
| lon_deg = 2.351
| label   = Paris
}}

Location map many, using relief map (image1)

{{Location map many | France
| relief   = yes
| width    = 200
| caption  = Two locations in France
| lat1_deg = 48.857
| lon1_deg = 2.351
| label1   = Paris
| lat2_deg = 43.703
| lon2_deg = 7.266
| label2   = Nice
}}

Location map+, using AlternativeMap

{{Location map+ | France
| AlternativeMap = France relief location map.jpg
| width   = 200
| caption = Two locations in France
| places  =
  {{Location map~ | France
  | lat_deg = 48.857
  | lon_deg = 2.351
  | label   = Paris
  }}
  {{Location map~ | France
  | lat_deg = 43.703
  | lon_deg = 7.266
  | label   = Nice
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List