Open main menu

Changes

294 bytes added ,  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/Start|base=FILENAME.png|width=PIXELS|link=PAGENAME}}
<!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} -->
{{Map/Label|1=X|2=Y|3=Label}}{{Map/Label|1=X|2=Y|[[3=Label with link]]|color=COLOR|length=PIXELS|width=EM}}{{Map/LabelLabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}}
{{Map/End}}
</nowiki></pre>
== Examples ==
<div style="overflow: hidden;"><div style="float: left; margin-right: 2em; margin-bottom: 2em;">
{{Map/Start|base=Equus Oils.png|width=500}}
{{Map/Label|5012|5036|TestHorse head|length=20|width=6}}{{Map/Label|2528|7571|[[Equus OilsComputer|Link test]]width=6}}{{Map/LabelLabelE|53|75|25[[Joseph]]|Color testlength=45|colorwidth=green4.5}}{{Map/Label|7580|7510|A longer Color &<br />multiline test on several lines|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(0255, 0255, 255, 0.4)}}
{{Map/End}}
</div>
</div>
== Components ==
* [[Template:Map/End]]
[[Category:MapsMap Templates]]
</noinclude>