Difference between revisions of "Module:Location map/data/Croatia/doc"
Jump to navigation
Jump to search
blackwiki>DarkoS (-> SVG) |
blackwiki>Zyxw (remove undisplayed copy of map values, add examples) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | <!-- Categories and interwikis go at the bottom of this page. --> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | --> | ||
| − | |||
| − | + | The locator map definition, [[Template:Location map Croatia]], is intended for overlaying markers and labels on similar maps of [[Croatia]]. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| + | [[Image:Croatia map blank.svg|left|thumb|180px|Map for Croatia]] | ||
{| class="wikitable" width="340" | {| class="wikitable" width="340" | ||
|- | |- | ||
| Line 49: | Line 30: | ||
{{-}}<!-- force separation break --> | {{-}}<!-- force separation break --> | ||
'''WARNING''': Having too much text in Template:Location_map_Croatia can kill mapping templates that use it, even inside "<noinclude>". | '''WARNING''': Having too much text in Template:Location_map_Croatia can kill mapping templates that use it, even inside "<noinclude>". | ||
| + | |||
| + | == Usage == | ||
| + | The following mapping templates are can use data from this template: | ||
| + | * [[Template:Location map]] - puts one symbol/label on the map image; | ||
| + | * [[Template:Location map many]] - puts multiple symbols/labels on the map image. | ||
| + | |||
| + | This template uses the mapping procedure "[[Template:Location map]]" which must be invoked with parameter "Croatia" to process the options before it uses the template. Specify each of the individual parameters by using vertical bars: <nowiki>{{Location map | Croatia | ...}}</nowiki>. | ||
| + | |||
| + | == Examples == | ||
| + | === Location map === | ||
| + | {{Location map | Croatia | ||
| + | | width = 250 | ||
| + | | lat = 45.82 | ||
| + | | long = 15.98 | ||
| + | | label = Zagreb | ||
| + | }} | ||
| + | <pre style="width:30em"> | ||
| + | {{Location map | Croatia | ||
| + | | width = 250 | ||
| + | | lat = 45.82 | ||
| + | | long = 15.98 | ||
| + | | label = Zagreb | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | === Location map many === | ||
| + | {{Location map many | Croatia | ||
| + | | caption = Two locations in the Croatia | ||
| + | | width = 250 | ||
| + | | lat = 45.82 | ||
| + | | long = 15.98 | ||
| + | | label = Zagreb | ||
| + | | lat2 = 43.5 | ||
| + | | long2 = 16.43 | ||
| + | | label2 = Split | ||
| + | }} | ||
| + | <pre style="width:30em"> | ||
| + | {{Location map many | Croatia | ||
| + | | caption = Two locations in the Croatia | ||
| + | | width = 250 | ||
| + | | lat = 45.82 | ||
| + | | long = 15.98 | ||
| + | | label = Zagreb | ||
| + | | lat2 = 43.5 | ||
| + | | long2 = 16.43 | ||
| + | | label2 = Split | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
<includeonly> | <includeonly> | ||
| + | <!-- Categories and interwikis go here: --> | ||
| + | [[Category:Location map by country templates|Croatia]] | ||
| + | |||
[[da:Skabelon:Kortpositioner Kroatien]] | [[da:Skabelon:Kortpositioner Kroatien]] | ||
[[fr:Modèle:Géolocalisation/Croatie]] | [[fr:Modèle:Géolocalisation/Croatie]] | ||
[[hr:template:Lokacijska karta Hrvatska]] | [[hr:template:Lokacijska karta Hrvatska]] | ||
[[zh:Template:Location map Croatia]] | [[zh:Template:Location map Croatia]] | ||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 18:45, 6 August 2011
| 40px | 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. |
The locator map definition, Template:Location map Croatia, is intended for overlaying markers and labels on similar maps of Croatia.
File:Croatia map blank.svg
Map for Croatia
| Map parameters | ||
| top | Template:Location map Croatia | latitude at top of map |
| bottom | Template:Location map Croatia | latitude at bottom of map |
| left | Template:Location map Croatia | longitude at map left edge |
| right | Template:Location map Croatia | longitude at map right edge |
| skew | Template:Location map Croatia | skew to narrow longitudes |
| lat_skew | Template:Location map Croatia | skew to arc latitudes at edges |
See {{Location map}} for description of the parameters.
WARNING: Having too much text in Template:Location_map_Croatia can kill mapping templates that use it, even inside "<noinclude>".
Usage
The following mapping templates are can use data from this template:
- Template:Location map - puts one symbol/label on the map image;
- Template:Location map many - puts multiple symbols/labels on the map image.
This template uses the mapping procedure "Template:Location map" which must be invoked with parameter "Croatia" to process the options before it uses the template. Specify each of the individual parameters by using vertical bars: {{Location map | 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 the Croatia
| width = 250
| lat = 45.82
| long = 15.98
| label = Zagreb
| lat2 = 43.5
| long2 = 16.43
| label2 = Split
}}