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

Content deleted Content added
add example using Template:Location map many
m top: {{High-use}}
 
(9 intermediate revisions by 6 users not shown)
Line 1:
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
{{Documentation subpage}}
{{High-use}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{Module:Location map many | China/data/doc
 
|examples=
== Usage ==
See {{tl|Location map}} for details concerning usage.
 
== How to use an alternative map ==
This template normally displays the map shown above as '''image''':
*<tt>{{{{BASEPAGENAME}}|image}}</tt>.
The ''AlternativeMap'' or ''relief'' parameters in {{tl|Location map}} can be used to display the map shown above as '''image1''':
*<tt>{{{{BASEPAGENAME}}|image1}}</tt>.
Further instructions and examples can be found at [[Template:Location map#Using Alternative Map]] and [[Template:Location map#Relief]].
 
== Examples ==
=== Location map, using default map (image) ===
{{Location map | China
| width = 250
| lat lat_deg = 37
| long lon_deg = 100
| label = Qinghai Lake
| marksize = 6
}}
<pre style="width:30em">
{{Location map | China
| width = 250
| lat lat_deg = 37
| long lon_deg = 100
| label = Qinghai Lake
| marksize = 6
}}
</pre>
{{clear}}
 
=== Location map many, using relief map (image1) ===
{{Location map many | China
| relief = yes
| width = 250
| caption = People's Republic of China
| lat = 37
| long lat1_deg = 10039.91
| long lon1_deg = 116.39
| label = Qinghai Lake
| marksizelabel1 = 6Beijing
| lat2 lat2_deg = 31.2
| long2 lon2_deg = 121.5
| label2 = Shanghai
}}
<pre style="width:30em">
{{Location map many | China
| relief = yes
| width = 250
| caption = People's Republic of China
| lat = 37
| long lat1_deg = 10039.91
| lon1_deg = 116.39
| label = Qinghai Lake
| marksizelabel1 = 6Beijing
| lat2_deg = 31.2
| long2 lon2_deg = 121.5
| label2 = Shanghai
}}
</pre>
{{clear}}
 
=== Location map many+, using default mapAlternativeMap ===
{{Location map many+ | China
| AlternativeMap = China edcp relief ___location map.jpg
| lat width = 37250
| caption = People's Republic of China
| places =
{{Location map~ | China
| lat | lat_deg = 39.91
| lon_deg = 116.39
| label = Beijing
}}
{{Location map~ | China
| lat_deg = 31.2
| lon_deg = 121.5
| label = Shanghai
}}
}}
<pre style="width:30em35em">
* [[Template:{{Location map+ | China relief]]
| AlternativeMap = China edcp relief ___location map.jpg
| width = 250
| lat = 39.91
| long = 116.39
| label = Beijing
| lat2 = 31.2
| long2 = 121.5
| label2 = Shanghai
}}
<pre style="width:30em">
{{Location map many | China
| caption = People's Republic of China
| width places = 250
{{Location map~ | China
| lat = 39.91
| long | lat_deg = 11639.3991
| label | lon_deg = Beijing116.39
| lat2 | label = 31.2Beijing
}}
| long2 = 121.5
{{Location map~ | China
| label2 = Shanghai
| lat_deg = 31.2
| lon_deg = 121.5
| label = Shanghai
}}
}}
</pre>
{{clear}}
== See|see also ==
 
* [[Module:Location map/data/China (equirectangular)]], displays a different map with different border coordinates
== See also ==
}}
* [[Template:Location map many]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
* [[Template:Location map China (equirectangular)]]
<!-- Categories andbelow this line; interwikis go at the bottom of this page.Wikidata -->
* [[Template:Location map China relief]]
[[Category:China ___location map modules| ]]
}}</includeonly>
<!-- Categories and interwikis go here: -->
 
</includeonly>