Template:Site plan/doc
![]() | This is a documentation subpage for Template:Site plan. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | Internet Explorer is extremely sensitive to small changes to the source code. Please test any changes in IE. |
Display an image such as a site plan or map with another image superimposed on it. The position of the superimposed image is relative so that changing the size of the underlying image does not invalidate the position of the second image.
Use
Coordinates can contain a decimal point, e.g. "50.5". <syntaxhighlight lang="wikitext" style="overflow:auto;">
</syntaxhighlight>
Examples
To display a semi-transparent red circle with mouseover tooltip in an image (move mouse over the circle): <syntaxhighlight lang="wikitext" style="overflow:auto;">
</syntaxhighlight> produces:
Demonstration of the out of range warning: <syntaxhighlight lang="wikitext" style="overflow:auto;">
Error: {{Site plan}} detected that a parameter value (pos_x or pos_y) is out of range. |
</syntaxhighlight> produces:
Error: {{Site plan}} detected that a parameter value (pos_x or pos_y) is out of range. |
See also
- {{Annotated image}}, which allows cropping and text notes to overlap image.
- {{Superimpose}}, which places one image over another.
- {{Superimpose2}}, which places up to 50 image layers over one another.
- {{Location map}}, which places a single image over another at a map coordinate location.
- {{Overlay}}, which places up to 30 marker images of various configurable kinds over a base image with optional grid and legend.