Module:Location map/data/USA Florida Volusia County/doc: Difference between revisions

Content deleted Content added
documentation moved from main template, add category
 
 
(9 intermediate revisions by 7 users not shown)
Line 1:
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
{{Documentation subpage}}
{{Module:Location map/data/doc
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
|examples=
 
== Usage ==
This is a map locator for the Volusia County, Florida map, allowing a specified marker-image (parameter "mark=") of set size (defaults "marksize=8") plus an optional name-label to be placed by latitude and longitude coordinates on the default map (or a given image).
 
This template is used by the parent "[[Template:Location map]]" which must be invoked with parameter "Volusia County" to process the options before it uses this template. Specify each of the individual parameters by using vertical bars: <nowiki>{{Location map | Volusia County | ...}}</nowiki>.
 
When a map is not equirectangular, the coordinates will need to be adjusted to match northern-area mapping, or use skewed coordinates with "[[Template:Location map skew]]". For map width, omit "px" (width=260) or else map might expand and throw marker across page: the "px" cannot be detected in advance.
 
: See: {{tl|Location map}} for description of parameters, or Examples below.
 
== Examples ==
{{Location map
| USA Florida Volusia County
| label = Daytona | position = top
| label_size = 90 <!-- percent 0-900% -->
| caption = Show "[[Daytona Beach, Florida|Daytona]]" on map
| lat_deg = 29 | lat_min=12 | lat_dir=N
| lon_deg = -81 | lon_min= -02 | lon_dir=W
| background = #FFFF99
| float = right | width = 260
}}
Example labeling "[[Daytona Beach, Florida|Daytona]]":
<pre style="overflow:auto">
<code>
:<nowiki>{{Location map</nowiki>
:<nowiki>| USA Florida Volusia County</nowiki>
:<nowiki>| label=Daytona | position=top</nowiki>
:<nowiki>| label_size = 90 <--percent 0-900%</nowiki>
:<nowiki>| caption = Show "Daytona" on map</nowiki>
:<nowiki>| lat_deg= 29</nowiki>&nbsp;<nowiki> | lat_min=12</nowiki> | lat_dir=N
:<nowiki>| lon_deg= -81 | lon_min= -02</nowiki> | lon_dir=W
:<nowiki>| background = #FFFF99</nowiki>
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 260 <!--DON'T add "px"-->
}}</nowikipre>
:<nowiki>}}</nowiki></code>
: Note that both lon_deg and lon_min are negative numbers.
{{clear}}
 
<!-- ------------------------- Showing DeLand -->
{{Location map
| USA Florida Volusia County
| label = DeLand | position=left
| label_size = 90 <!-- percent 0-900% -->
| caption = Show "DeLand" on map
| lat_deg= 29 | lat_min=01 | lat_dir=N
| lon_deg=-81 | lon_min= -18 | lon_dir=W
| background = <!--orange-->#FFCC66
| float = right
| width = 260
| AlternativeMap = <!-- none (use default map) -->
}}
Example for orange "[[DeLand]]" at left:
<pre style="overflow:auto">
:<nowiki>{{Location map</nowiki>
:<nowiki>| Volusia County</nowiki>
| USA Florida Volusia County
:<nowiki>| label=DeLand | position=left</nowiki>
:<nowiki>| label_size = 90 <--percent 0-900%</nowiki-->
:<nowiki>| caption = Show "DeLand" on map</nowiki>
:<nowiki>| lat_deg= 29 | lat_min=01</nowiki> | lat_dir=N
:<nowiki>| lon_deg=-81 | lon_min= -18</nowiki> | lon_dir=W
:<nowiki>| background = <!--orange-->#FFCC66</nowiki>
:<nowiki>| float = right</nowiki>
| float=right
:<nowiki>| width = 260 <!--DON'T add "px"--></nowiki>
:<nowiki>| AlternativeMap = <!-- none (default)--></nowiki>
:<nowiki>}}</nowiki>
}}
</pre>
{{clear}}
 
<!-- ------------------------- Showing Edgewater -->
{{Location map
| USA Florida Volusia County
| label = Edgewater | position=bottom
| label_size = 90 <!-- percent 0-900% -->
| caption = Show "Edgewater" on map
| lat_deg= 28 | lat_min=57 | lat_dir=N
| lon_deg=-80 | lon_min= -54 | lon_dir=W
| background = <!--green-->#33DD44
| float = right
| width = 260
| AlternativeMap = <!-- none (use default map) -->
}}
Example for green "[[Edgewater, Volusia County, Florida|Edgewater]]" at bottom:
<pre style="overflow:auto">
:<nowiki>{{Location map</nowiki>
:<nowiki>| Volusia County</nowiki>
| USA Florida Volusia County
:<nowiki>| label=Edgewater | position=bottom</nowiki>
:<nowiki>| label_size = 90 <--percent 0-900%</nowiki>
:<nowiki>| caption = Show "Edgewater" on map</nowiki>
:<nowiki>| lat_deg= 28 | lat_min=57</nowiki> | lat_dir=N
:<nowiki>| lon_deg=-80 | lon_min= -54</nowiki> | lon_dir=W
:<nowiki>| background = <!--green-->#33DD44</nowiki>
:<nowiki>| float = right</nowiki>
| float=right
:<nowiki>| width = 260 <!--DON'T add "px"--></nowiki>
:<nowiki>| AlternativeMap = <!-- none (default)--></nowiki>
:<nowiki>}}</nowiki>
}}
<includeonly>
</pre>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:United States ___location map templates|Florida Volusia County]]
| see also =
* [[Module:Location map/data/USA]]
* [[Module:Location map/data/USA Florida]]
 
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:United StatesFlorida ___location map templatesmodules|Florida Volusia County]]
 
}}</includeonly>