Content deleted Content added
Tlustulimu (talk | contribs) m interwiki |
Added the page to Category:Module documentation pages |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1:
▲<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This map definition, '''Template:Location_map_100x100''', is intended for overlaying markers/labels on any specified image, using map coordinates ranging from 0-100.0 for [[latitude]] or [[longitude]]. See the technical design below, under: [[#Design issues]].<br/>
Some of the related mapping procedures are:
Line 9 ⟶ 7:
All mapping templates use similar parameters (see ''[[#Examples|Examples]]''):
<div style="font-family: monospace;">
:* 100x100
:* AlternativeMap - name of image (omit "Image:")
:* caption=text
:* width=250 - for image width (omit "px" or image will span page)
:* label - movable label (can be padded "&nbsp;XX&nbsp;YY&nbsp;")
Line 18 ⟶ 16:
:* background - color of label (such as: darkorange or #4499DD)
:* position=right - (or left, top, bottom) position of label at marker
:* lat =55.00
:* long=45.00
:* mark - name of image for marker symbol (omit "Image:")
:* marksize - size of image for marker symbol (default: 8px, 1px=none)
:* float=right (or left, center) - position of map formatted on page
</
Some common label background colors are: <small>#</small>CCCC55 for <
::* <small>#</small>44EE44 for <
::* <small>#</small>44CCDD for <
::* PaleGreen for <
::* By default, the label is ''transparent'' overwriting the image.
For small lettering use label_size=80, for tiny words use 55.
When specifying image "width=270" be sure to ''OMIT'' "px" (which causes the image to span the width of the screen) because "px" cannot (yet) be detected by the (new) MediaWiki language which processes those mapping templates.
Line 50 ⟶ 48:
| float=right <!--(or left, center) - position of map-->
}}
<
<nowiki>{{</nowiki>Location map | 100x100
| caption = Example on blank image
Line 64 ⟶ 62:
| float=right <!--left/center-->
}}
</
{{Location_map | 100x100
Line 80 ⟶ 78:
| float=right <!--(or left, center) - position of map-->
}}
<
<nowiki>{{</nowiki>Location map | 100x100
| AlternativeMap = Gold star on blue.gif
Line 95 ⟶ 93:
| float=right <!--left/center-->
}}
</
==Other options==
Line 103 ⟶ 101:
::* Over latitude= 101.0 will push a label off-map to the top.
For templates that restrict coordinates, expand the ''minutes'' field: lat_deg=100.0 but lat_min=120 yielding a combined 102 degrees (60 minutes = 1 degree).
==See also==
* [[Template:Superimpose]] - to label an image without a border box
<includeonly>
<!-- CATEGORIES
[[Category:
[[
</includeonly><noinclude>
[[Category:Module documentation pages]]
</
|