Module:Location map/data/Belgium/doc: Difference between revisions

Content deleted Content added
create documentation
 
 
(6 intermediate revisions by 2 users not shown)
Line 1:
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{Module:Location map/data/doc|image=[[File:Belgium-CIA WFB Map.png|thumb|250px|Map of Belgium]]
 
|examples=
'''Template:Location map Belgium''' is a ___location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[Belgium]]. 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 "Belgium":
* {{tlx|Location map | Belgium&nbsp;| ...}}
* {{tlx|Location map many | Belgium&nbsp;| ...}}
* {{tlx|Location map+ | Belgium&nbsp;| ...}}
* {{tlx|Location map~ | Belgium&nbsp;| ...}}
 
== Map definition ==
; name
: used in default map caption (<tt>{{{{BASEPAGENAME}}|name}}</tt>)
; image
: the default map image, without "Image:" or "File:" (<tt>[[:File:{{{{BASEPAGENAME}}|image}}|{{{{BASEPAGENAME}}|image}}]]</tt>)
; image1
: an alternative map image, usually a relief map (<tt>[[:File:{{{{BASEPAGENAME}}|image1}}|{{{{BASEPAGENAME}}|image1}}]]</tt>)
; top
: [[latitude]] at top edge of map, in [[decimal degrees]] (<tt>{{{{BASEPAGENAME}}|top}}</tt>)
; bottom
: latitude at bottom edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|bottom}}</tt>)
; left
: [[longitude]] at left edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|left}}</tt>)
; right
: longitude at right edge of map, in decimal degrees (<tt>{{{{BASEPAGENAME}}|right}}</tt>)
 
== Alternative map ==
The map defined as '''image1''' (<tt>{{{{BASEPAGENAME}}|image1}}</tt>) can be displayed by using the ''AlternativeMap'' or ''relief'' parameters in {{tl|Location map}}, {{tl|Location map many}} and {{tl|Location map+}}. Further instructions can be found at [[Template:Location map#Using Alternative Map]] and [[Template:Location map#Relief]], or see the examples below.
 
== Examples ==
=== Location map, using default map (image) ===
{{Location map | Belgium
| width = 200
| lat lat_deg = 50.85
| long lon_deg = 4.35
| label = Brussels
}}
<pre style="width:30em">
{{Location map | Belgium
| width = 200
| lat lat_deg = 50.85
| long lon_deg = 4.35
| label = Brussels
}}
</pre>
{{clear}}
 
=== Location map many, using relief map (image1) ===
{{Location map many | Belgium
| relief = yes
| width = 200
| caption = Two locations in Belgium
| lat = 50.85
| long lat1_deg = 450.3585
| label lon1_deg = Brussels4.35
| labellabel1 = Brussels
| lat2 lat2_deg = 51.22
| long2 lon2_deg = 4.40
| label2 = Antwerp
}}
<pre style="width:30em">
{{Location map | Belgium
| relief = yes
| width = 200
| lat = 50.85
| long = 4.35
| label = Brussels
}}
</pre>
{{clear}}
 
=== Location map many, using default map ===
{{Location map many | Belgium
| relief = yes
| caption = Two locations in Belgium
| width = 200
| latcaption = Two locations =in 50.85Belgium
| long lat1_deg = 450.3585
| label lon1_deg = Brussels4.35
| lat2 label1 = 51.22Brussels
| long2 lat2_deg = 451.4022
| label2 lon2_deg = Antwerp4.40
| label2 = Antwerp
}}
<pre style="width:35em">
{{Location map many | Belgium
| caption = Two locations in Belgium
| width = 200
| lat = 50.85
| long = 4.35
| label = Brussels
| lat2 = 51.22
| long2 = 4.40
| label2 = Antwerp
}}
</pre>
Line 95 ⟶ 49:
{{Location map+ | Belgium
| AlternativeMap = Belgium relief ___location map.jpg
| lat width = 50.85200
| caption = Two locations in Belgium
| width = 200
| places =
{{Location map~ | Belgium
| lat lat_deg = 50.85
| long lon_deg = 4.35
| label = Brussels
}}
{{Location map~ | Belgium
| lat lat_deg = 51.22
| long lon_deg = 4.40
| label = Antwerp
}}
}}
Line 112 ⟶ 66:
{{Location map+ | Belgium
| AlternativeMap = Belgium relief ___location map.jpg
| width = 200
| caption = Two locations in Belgium
| width = 200
| places =
{{Location map~ | Belgium
| lat lat_deg = 50.85
| long lon_deg = 4.35
| label = Brussels
}}
{{Location map~ | Belgium
| lat lat_deg = 51.22
| long lon_deg = 4.40
| label = Antwerp
}}
}}
</pre>
{{clear}}
 
== See also ==
* [[Template:Location map]]
* [[Template:Location map+]]
* [[Template:Location map many]]
<includeonly>
<!-- Categories and interwikis go here: -->
 
[[Category:Belgium ___location map modules|Belgium ___location map templates]]
 
[[ku:Şablon:Nexşeya cihan Belgiya]]
 
</includeonly>