Content deleted Content added
Anomalocaris (talk | contribs) <code>...</code> can't wrap multiple blocks, but <div style="font-family: monospace;">...</div> can |
|||
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==
|