Content deleted Content added
changed settings table to show live parameters |
add appropriate template category & remove non-existant category. |
||
Line 1:
--▼
The locator map definition, '''Template:Location_map_Alabama''', is intended for overlaying markers and labels on similar maps of [[Alabama]].
Line 22 ⟶ 8:
This template uses the mapping procedure "[[Template:Location_map]]" which must be invoked with parameter "Alabama" to process the options before it uses the template. Specify each of the individual parameters by using vertical bars: <nowiki>{{Location map | Alabama | ...}}</nowiki>.
[[Image:
{| class="wikitable
! Parameter !! style="text-align:left" | Setting !! style="text-align:left" | Description
|-
| name || {{Location map Alabama|name}} || name of ___location
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
| lat_skew || {{Location map Alabama|lat_skew}} || skew to arc latitudes at edges
|}{{-}}<!-- force separation break -->▼
|}
==Examples==
{{Location map
Line 55 ⟶ 40:
| label = Huntsville | position = left
| label_size = 90 <!-- percent 0-900% -->
| caption = Show "
| lat_deg = 34 | lat_min = 42.8
| lon_deg = -86 | lon_min = -35.2
| background = #FFFF99
| float = right | width = 160
Line 65 ⟶ 50:
:<nowiki>{{Location map</nowiki>
:<nowiki>| Alabama</nowiki>
:<nowiki>| label = Huntsville | position =
:<nowiki>| label_size = 90 <!--percent 0-900%--></nowiki>
:<nowiki>| caption = Show "Huntsville" on map</nowiki>
:<nowiki>| lat_deg
:<nowiki>| lon_deg = -86 | lon_min = -35.2</nowiki>
:<nowiki>| background = #FFFF99</nowiki>
:<nowiki>| float = right</nowiki>
Line 80 ⟶ 65:
{{Location map
| Alabama
| label = Mobile
| label_size = 90 <!-- percent 0-900% -->
| caption = Show "Mobile" on map
| lat_deg = 30 | lat_min = 40.8
| lon_deg = -88 | lon_min = -6.2
| background = #FFCC66 <!--orange-->
| float = right
| width = 160
Line 91 ⟶ 76:
}}
Example for orange "[[Mobile]]" at bottom:
<code>
:<nowiki>{{Location map</nowiki>
:<nowiki>| Alabama</nowiki>
:<nowiki>| label = Mobile
:<nowiki>| label_size = 90
:<nowiki>| caption = Show "Mobile" on map</nowiki>
:<nowiki>| lat_deg = 30
:<nowiki>| lon_deg = -88 | lon_min = -6.2</nowiki>
:<nowiki>| background = #FFCC66 <!--orange-->
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 160 <!--DON'T add "px"--></nowiki>
:<nowiki>| AlternativeMap = <!-- none (default)--></nowiki>
:<nowiki>}}</nowiki></code>
<!-- ------------------------- Showing Left edge -->
{{Location map
| Alabama
| label = left edge
| label_size = 90 <!-- percent 0-900% -->
| caption = Show "left edge" on map
| lat = 31.10
| long = -88.64
| background = #33DD44 <!--green-->
| float = right
| width = 160
Line 120 ⟶ 106:
:<nowiki>{{Location map</nowiki>
:<nowiki>| Alabama</nowiki>
:<nowiki>| label = left edge
:<nowiki>| label_size = 90
:<nowiki>| caption = Show "left edge" on map</nowiki>
:<nowiki>| lat
:<nowiki>| long = -88.64</nowiki>
:<nowiki>| background = #33DD44 <!--green-->
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 160</nowiki>
Line 133 ⟶ 119:
{{Location map
| Alabama
| label = right edge
| label_size = 90 <!-- percent 0-900% -->
| caption = Show map "right edge"
| lat = 31.10
| long = -84.85
| background = #33DD44 <!--green-->
| float = right
| width = 160
Line 146 ⟶ 132:
:<nowiki>{{Location map</nowiki>
:<nowiki>| Alabama</nowiki>
:<nowiki>| label = right edge | position = left</nowiki>
:<nowiki>| label_size =
:<nowiki>| caption = Show map "right edge"</nowiki>
:<nowiki>| lat
:<nowiki>| long = -84.85</nowiki>
:<nowiki>| background = #33DD44 <!--green-->
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 160</nowiki>
:<nowiki>}}</nowiki></code>
[[Category:Location map templates|{{PAGENAME}}]]
[[de:Vorlage:Positionskarte USA Alabama]]
<!-- [[ru:Шаблон:ПозКарта США алабаmа]] -->
</noinclude>
|