Open main menu

Changes

16 bytes removed ,  10:00, 4 February 2020
m
no edit summary
Define a base map layer, choose a display width, and specify the labels. X and Y are percentages.
The grid layer can be used while editing to assist with positioning.<br>Optionally, for visibility, specify a color in rgba format (rgb: 0-255, a: 0.0-1.0); the The default grid is white with 20% opacity. Optional attributes include: (Start) Link; (Label) Color, Length, Width
<pre><nowiki>
<!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} -->
{{Map/Label|1=X|2=Y|3=Label}}
{{Map/Label|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM|halfwidth=(half of width)}}
{{Map/LabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}}
{{Map/End}}
== Examples ==
<div style="overflow: hidden;">
<div style="float: left; margin-right: 4em2em; margin-bottom: 2em;">
{{Map/Start|base=Equus Oils.png|width=500}}
{{Map/Label|12|3436|Horse head|length=20|width=6|halfwidth=3}}{{Map/Label|28|6671|Computer|width=6|halfwidth=3}}{{Map/LabelE|53|6875|[[Joseph]]|length=45|width=4.5}}
{{Map/Label|80|10|Color &<br />multiline test|color=green}}
 
{{Map/End}}
</div><div style="float: left; margin-bottom: 2em; margin-left: 2em;">
{{Map/Start|base=Equus Oils.png|width=500}}
{{Map/Grid|color=rgba(255, 255, 255, 0.4)}}
* [[Template:Map/End]]
[[Category:MapsMap Templates]]
</noinclude>