Difference between revisions of "Module:Location map/data/Croatia/doc"
Jump to navigation
Jump to search
blackwiki>Zyxw (remove undisplayed copy of map values, add examples) |
blackwiki>Zyxw (update documentation and add example using Template:Location map+) |
||
| Line 2: | Line 2: | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
| − | + | '''Template:Location map Croatia''' is a location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[Croatia]]. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image. | |
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Usage == | == Usage == | ||
| − | + | These definitions are used by the following templates when invoked with parameter "Croatia": | |
| − | * | + | * {{tlx|Location map | Croatia | ...}} |
| − | * | + | * {{tlx|Location map many | Croatia | ...}} |
| + | * {{tlx|Location map+ | Croatia | ...}} | ||
| + | * {{tlx|Location map~ | Croatia | ...}} | ||
| − | + | == 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>) | ||
| + | ; 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>) | ||
| + | ; skew | ||
| + | : skew to narrow longitudes (<tt>{{{{BASEPAGENAME}}|skew}}</tt>) | ||
| + | ; lat_skew | ||
| + | : skew to arc latitudes at edges (<tt>{{{{BASEPAGENAME}}|lat_skew}}</tt>) | ||
== Examples == | == Examples == | ||
| Line 58: | Line 49: | ||
=== Location map many === | === Location map many === | ||
{{Location map many | Croatia | {{Location map many | Croatia | ||
| − | | caption = Two locations in | + | | caption = Two locations in Croatia |
| width = 250 | | width = 250 | ||
| lat = 45.82 | | lat = 45.82 | ||
| Line 69: | Line 60: | ||
<pre style="width:30em"> | <pre style="width:30em"> | ||
{{Location map many | Croatia | {{Location map many | Croatia | ||
| − | | caption = Two locations in | + | | caption = Two locations in Croatia |
| width = 250 | | width = 250 | ||
| lat = 45.82 | | lat = 45.82 | ||
| Line 81: | Line 72: | ||
{{clear}} | {{clear}} | ||
| + | === Location map+ === | ||
| + | {{Location map+ | Croatia | ||
| + | | caption = Two locations in Croatia | ||
| + | | width = 250 | ||
| + | | places = | ||
| + | {{Location map~ | Croatia | ||
| + | | lat = 45.82 | ||
| + | | long = 15.98 | ||
| + | | label = Zagreb | ||
| + | }} | ||
| + | {{Location map~ | Croatia | ||
| + | | lat = 43.5 | ||
| + | | long = 16.43 | ||
| + | | label = Split | ||
| + | }} | ||
| + | }} | ||
| + | <pre style="width:30em"> | ||
| + | {{Location map+ | Croatia | ||
| + | | caption = Two locations in Croatia | ||
| + | | width = 250 | ||
| + | | places = | ||
| + | {{Location map~ | Croatia | ||
| + | | lat = 45.82 | ||
| + | | long = 15.98 | ||
| + | | label = Zagreb | ||
| + | }} | ||
| + | {{Location map~ | Croatia | ||
| + | | lat = 43.5 | ||
| + | | long = 16.43 | ||
| + | | label = Split | ||
| + | }} | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | == See also == | ||
| + | * [[Template:Location map]] | ||
| + | * [[Template:Location map+]] | ||
| + | * [[Template:Location map many]] | ||
<includeonly> | <includeonly> | ||
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
Revision as of 10:29, 11 August 2011
| This is a documentation subpage for Module:Location map/data/Croatia. It contains usage information, categories and other content that is not part of the original module page. |
Template:Location map Croatia is a location map definition used to overlay markers and labels on an equirectangular projection map of Croatia. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "Croatia":
{{Location map | Croatia | ...}}{{Location map many | Croatia | ...}}{{Location map+ | Croatia | ...}}{{Location map~ | Croatia | ...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Croatia)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Croatia|Template:Location map/data/Croatia]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Croatia)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Croatia)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Croatia)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Croatia)
- skew
- skew to narrow longitudes (Template:Location map/data/Croatia)
- lat_skew
- skew to arc latitudes at edges (Template:Location map/data/Croatia)
Examples
Location map
Zagreb (Croatia)
{{Location map | Croatia
| width = 250
| lat = 45.82
| long = 15.98
| label = Zagreb
}}
Location map many
{{Location map many | Croatia
| caption = Two locations in Croatia
| width = 250
| lat = 45.82
| long = 15.98
| label = Zagreb
| lat2 = 43.5
| long2 = 16.43
| label2 = Split
}}
Location map+
{{Location map+ | Croatia
| caption = Two locations in Croatia
| width = 250
| places =
{{Location map~ | Croatia
| lat = 45.82
| long = 15.98
| label = Zagreb
}}
{{Location map~ | Croatia
| lat = 43.5
| long = 16.43
| label = Split
}}
}}