MyWikiBiz, Author Your Legacy — Saturday September 06, 2025
Jump to navigationJump to search
3,440 bytes added
, 01:31, 16 July 2021
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
<!--
Here is an example of what a documentation page should look like:
{{#tag:pre|<nowiki>
<!-- Categories and interwikis go at the bottom of this page. -->
{{Module:Location map/data/doc|image=[[File:Sumbawa Topography.png|thumb|250px|Map of Sumbawa]]
|examples=
=== Location map, using default map (image) ===
<!--{{Location map | Indonesia Sumbawa
| width = 200
| lat_deg = 50.85
| lon_deg = 4.35
| label = Brussels
}}
<pre style="width:30em">
{{Location map | Belgium
| width = 200
| lat_deg = 50.85
| 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
| lat1_deg = 50.85
| lon1_deg = 4.35
| label1 = Brussels
| lat2_deg = 51.22
| lon2_deg = 4.40
| label2 = Antwerp
}}
<pre style="width:30em">
{{Location map many | Belgium
| relief = yes
| width = 200
| caption = Two locations in Belgium
| lat1_deg = 50.85
| lon1_deg = 4.35
| label1 = Brussels
| lat2_deg = 51.22
| lon2_deg = 4.40
| label2 = Antwerp
}}
</pre>
{{clear}}
=== Location map+, using AlternativeMap ===
{{Location map+ | Belgium
| AlternativeMap = Belgium relief location map.jpg
| width = 200
| caption = Two locations in Belgium
| places =
{{Location map~ | Belgium
| lat_deg = 50.85
| lon_deg = 4.35
| label = Brussels
}}
{{Location map~ | Belgium
| lat_deg = 51.22
| lon_deg = 4.40
| label = Antwerp
}}
}}
<pre style="width:35em">
{{Location map+ | Belgium
| AlternativeMap = Belgium relief location map.jpg
| width = 200
| caption = Two locations in Belgium
| places =
{{Location map~ | Belgium
| lat_deg = 50.85
| lon_deg = 4.35
| label = Brussels
}}
{{Location map~ | Belgium
| lat_deg = 51.22
| lon_deg = 4.40
| label = Antwerp
}}
}}
</pre>
}}-->
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata: -->
[[Category:Indonesia location map templates|Sumbawa]]
</includeonly>
</nowiki>}}
The following parameters are taken by [[Module:Location map/data/doc]]:
{| class="wikitable" style="width: 50%;"
! Parameter
! Description
|-
| <code>image</code>
| An additional image to display (other than the one the location map uses) on the right side of the documentation page. If not specified, no additional image is displayed.
|-
| <code>projection</code>
| The type of projection the location map uses. If not specified, "<nowiki>an [[equirectangular projection]]</nowiki>" is used.
|-
| <code>name</code>
| The name to display in the map's documentation. If not specified, the actual name of the location map is used.
|-
| <code>examples</code>
| A section containing examples of the location map's usage. A {{tl|clear}} template is automatically placed at the end of the examples. If not specified, no examples are output.
|-
| <code>see also</code>
| Additional links to place in the "See also" section.
|}
All information about the map will be automatically taken from the map's definition itself.
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Indonesia location map templates|Sumbawa]]
}}</includeonly>