Content deleted Content added
No edit summary |
Added the page to Category:Module documentation pages |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 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 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 <span style="color:#CCCC55">'''dim yellow'''</span>,
::* <small>#</small>44EE44 for <span style="color:#44EE44">'''lime green'''</span>, <small>#</small>BBBBBB for <span style="color:#BBBBBB">'''gray'''</span>,
Line 27:
::* PaleGreen for <span style="color:PaleGreen">'''pale green'''</span>, <span style="color:PaleTurquoise">'''PaleTurquoise'''</span>, <span style="color:DarkOrange">'''DarkOrange'''</span>, etc.
::* 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 48:
| float=right <!--(or left, center) - position of map-->
}}
<
<nowiki>{{</nowiki>Location map | 100x100
| caption = Example on blank image
Line 62:
| float=right <!--left/center-->
}}
</
{{Location_map | 100x100
Line 78:
| float=right <!--(or left, center) - position of map-->
}}
<
<nowiki>{{</nowiki>Location map | 100x100
| AlternativeMap = Gold star on blue.gif
Line 93:
| float=right <!--left/center-->
}}
</
==Other options==
Line 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==
Line 111 ⟶ 108:
<!-- CATEGORIES HERE, THANKS -->
[[Category:Graphics templates]]
[[Category:Location map
</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>
|